diff options
| author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2014-02-12 13:49:40 +0200 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-12 14:18:00 +0000 | 
| commit | 1913f38d79a56f7d21999b6839835f967ca28abd (patch) | |
| tree | 03908009bfeeeeffc2151d0cb927a22657742a21 | |
| parent | 7d48d7826887bf32a751196a108660bcdd2d87eb (diff) | |
| download | openembedded-core-1913f38d79a56f7d21999b6839835f967ca28abd.tar.gz openembedded-core-1913f38d79a56f7d21999b6839835f967ca28abd.tar.bz2 openembedded-core-1913f38d79a56f7d21999b6839835f967ca28abd.zip | |
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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/runtime/smart.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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): | 
