diff options
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ptest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index ec8c038a56..a2b6ffdfe1 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py | |||
@@ -48,9 +48,12 @@ class PtestRunnerTest(OERuntimeTestCase): | |||
48 | 48 | ||
49 | @OETestID(1600) | 49 | @OETestID(1600) |
50 | @skipIfNotFeature('ptest', 'Test requires ptest to be in DISTRO_FEATURES') | 50 | @skipIfNotFeature('ptest', 'Test requires ptest to be in DISTRO_FEATURES') |
51 | @skipIfNotFeature('ptest-pkgs', 'Test requires ptest-pkgs to be in IMAGE_FEATURES') | ||
52 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 51 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
53 | def test_ptestrunner(self): | 52 | def test_ptestrunner(self): |
53 | status, output = self.target.run('which ptest-runner', 0) | ||
54 | if status != 0: | ||
55 | self.skipTest("No -ptest packages are installed in the image") | ||
56 | |||
54 | import datetime | 57 | import datetime |
55 | 58 | ||
56 | test_log_dir = self.td.get('TEST_LOG_DIR', '') | 59 | test_log_dir = self.td.get('TEST_LOG_DIR', '') |