diff options
author | 2014-07-25 12:02:30 +0300 | |
---|---|---|
committer | 2014-07-25 16:54:27 +0100 | |
commit | 95b83084487d0712362ade8ac487999c3274bb96 (patch) | |
tree | 28aed54cfa7f3f2d9674b5ac23866305cd71928a /meta/lib/oeqa/runtime/xorg.py | |
parent | 9aa75f06e9e78602ad8e9a5ffa312f71057a90d7 (diff) | |
download | openembedded-core-contrib-95b83084487d0712362ade8ac487999c3274bb96.tar.gz |
oeqa/rutime: Added testcase decorators for automated runtime tests. Also added LogResults decorator for oeTest class in oetest.py
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/xorg.py')
-rw-r--r-- | meta/lib/oeqa/runtime/xorg.py | 1 |
1 files changed, 1 insertions, 0 deletions
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)"') |