diff options
author | Lucian Musat <georgex.l.musat@intel.com> | 2014-07-25 12:02:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-25 16:54:42 +0100 |
commit | 8e26ab7d52edd13ffa50b2d0b26606bea8890e76 (patch) | |
tree | 2b2bcfc87341d3a5136710c8412fb6348ce2069d /meta/lib/oeqa/runtime/skeletoninit.py | |
parent | 242cceeedf2351e4337d8e45fb4c2c8360937ead (diff) | |
download | poky-8e26ab7d52edd13ffa50b2d0b26606bea8890e76.tar.gz |
oeqa/rutime: Added testcase decorators for automated runtime tests. Also added LogResults decorator for oeTest class in oetest.py
(From OE-Core rev: 95b83084487d0712362ade8ac487999c3274bb96)
Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/skeletoninit.py')
-rw-r--r-- | meta/lib/oeqa/runtime/skeletoninit.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/skeletoninit.py b/meta/lib/oeqa/runtime/skeletoninit.py index ddcad203d9..7c7f402e5d 100644 --- a/meta/lib/oeqa/runtime/skeletoninit.py +++ b/meta/lib/oeqa/runtime/skeletoninit.py | |||
@@ -20,6 +20,7 @@ class SkeletonBasicTest(oeRuntimeTest): | |||
20 | (status, output) = self.target.run('ls /usr/sbin/skeleton-test') | 20 | (status, output) = self.target.run('ls /usr/sbin/skeleton-test') |
21 | self.assertEqual(status, 0, msg = "skeleton-test not found. Output:\n%s" % output) | 21 | self.assertEqual(status, 0, msg = "skeleton-test not found. Output:\n%s" % output) |
22 | 22 | ||
23 | @testcase(284) | ||
23 | @skipUnlessPassed('test_skeleton_availability') | 24 | @skipUnlessPassed('test_skeleton_availability') |
24 | @unittest.skipIf("systemd" == oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager"), "Not appropiate for systemd image") | 25 | @unittest.skipIf("systemd" == oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager"), "Not appropiate for systemd image") |
25 | def test_skeleton_script(self): | 26 | def test_skeleton_script(self): |