mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
242cceeedf
commit
8e26ab7d52
@@ -18,6 +18,7 @@ class PythonTest(oeRuntimeTest):
|
||||
(status, output) = self.target.run('which python')
|
||||
self.assertEqual(status, 0, msg="Python binary not in PATH or not on target.")
|
||||
|
||||
@testcase(965)
|
||||
def test_python_stdout(self):
|
||||
(status, output) = self.target.run('python /tmp/test.py')
|
||||
self.assertEqual(status, 0, msg="Exit status was not 0. Output: %s" % output)
|
||||
|
||||
Reference in New Issue
Block a user