mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +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
@@ -14,6 +14,7 @@ class XorgTest(oeRuntimeTest):
|
||||
(status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep -v xinit | grep [X]org')
|
||||
self.assertEqual(status, 0, msg="Xorg does not appear to be running %s" % self.target.run(oeRuntimeTest.pscmd)[1])
|
||||
|
||||
@testcase(972)
|
||||
@skipUnlessPassed('test_ssh')
|
||||
def test_xorg_error(self):
|
||||
(status, output) = self.target.run('cat /var/log/Xorg.0.log | grep -v "(EE) error," | grep -v "PreInit" | grep -v "evdev:" | grep -v "glx" | grep "(EE)"')
|
||||
|
||||
Reference in New Issue
Block a user