mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00: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
@@ -13,6 +13,7 @@ class LddTest(oeRuntimeTest):
|
||||
(status, output) = self.target.run('which ldd')
|
||||
self.assertEqual(status, 0, msg = "ldd does not exist in PATH: which ldd: %s" % output)
|
||||
|
||||
@testcase(239)
|
||||
@skipUnlessPassed('test_ldd_exists')
|
||||
def test_ldd_rtldlist_check(self):
|
||||
(status, output) = self.target.run('for i in $(which ldd | xargs cat | grep "^RTLDLIST"|cut -d\'=\' -f2|tr -d \'"\'); do test -f $i && echo $i && break; done')
|
||||
|
||||
Reference in New Issue
Block a user