[oe-commits] Stefan Stanacar : oeqa/runtime: smart: don' t run in auto mode when rpm is not the pm
git at git.openembedded.org
git at git.openembedded.org
Thu Feb 13 11:35:52 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 1913f38d79a56f7d21999b6839835f967ca28abd
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1913f38d79a56f7d21999b6839835f967ca28abd
Author: Stefan Stanacar <stefanx.stanacar at intel.com>
Date: Wed Feb 12 13:49:40 2014 +0200
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 <stefanx.stanacar at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/runtime/smart.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py
index 8299bf3..195f117 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):
More information about the Openembedded-commits
mailing list