From: Stefan Stanacar Date: Wed, 12 Feb 2014 11:49:40 +0000 (+0200) Subject: oeqa/runtime: smart: don't run in auto mode when rpm is not the pm X-Git-Tag: 2015-4~3674 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1913f38d79a56f7d21999b6839835f967ca28abd;p=openembedded-core.git oeqa/runtime: smart: don't run in auto mode when rpm is not the pm TEST_SUITES = "auto" would run smart tests even for non-rpm images, which is pointless. Signed-off-by: Stefan Stanacar Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py index 8299bf373a..195f1170c6 100644 --- a/meta/lib/oeqa/runtime/smart.py +++ b/meta/lib/oeqa/runtime/smart.py @@ -9,6 +9,8 @@ def setUpModule(): skipModule("Image doesn't have package management feature") if not oeRuntimeTest.hasPackage("smart"): skipModule("Image doesn't have smart installed") + if "package_rpm" != oeRuntimeTest.tc.d.getVar("PACKAGE_CLASSES", True).split()[0]: + skipModule("Rpm is not the primary package manager") class SmartTest(oeRuntimeTest):