From 8e26ab7d52edd13ffa50b2d0b26606bea8890e76 Mon Sep 17 00:00:00 2001 From: Lucian Musat Date: Fri, 25 Jul 2014 12:02:30 +0300 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/xorg.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib/oeqa/runtime/xorg.py') diff --git a/meta/lib/oeqa/runtime/xorg.py b/meta/lib/oeqa/runtime/xorg.py index 12dccd8198..7aa61ad6ab 100644 --- a/meta/lib/oeqa/runtime/xorg.py +++ b/meta/lib/oeqa/runtime/xorg.py @@ -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)"') -- cgit v1.2.3-54-g00ecf