summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/xorg.py
diff options
context:
space:
mode:
authorLucian Musat <george.l.musat@intel.com>2015-07-17 12:54:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-23 08:48:38 +0100
commitcc2202b8b45ccdce16256cac3780aa7a546a882f (patch)
tree21fd2367df17f4471b38fcea0a68db71b1c98842 /meta/lib/oeqa/runtime/xorg.py
parent1bfb9327b7d7bba5b739483ee8571f1fe8263197 (diff)
downloadpoky-cc2202b8b45ccdce16256cac3780aa7a546a882f.tar.gz
oeqa/runtime: Added decorators for the remaining auto tests.
This helps for the automatic completion of the results in testopia. (From OE-Core rev: 9148e5873a79ea3ef64f00cf9807fae99bf3040a) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/xorg.py b/meta/lib/oeqa/runtime/xorg.py
index a07031e5c8..12bcd371af 100644
--- a/meta/lib/oeqa/runtime/xorg.py
+++ b/meta/lib/oeqa/runtime/xorg.py
@@ -9,9 +9,8 @@ def setUpModule():
9 9
10class XorgTest(oeRuntimeTest): 10class XorgTest(oeRuntimeTest):
11 11
12 @testcase(1151)
12 @skipUnlessPassed('test_ssh') 13 @skipUnlessPassed('test_ssh')
13 def test_xorg_running(self): 14 def test_xorg_running(self):
14 (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep -v xinit | grep [X]org') 15 (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep -v xinit | grep [X]org')
15 self.assertEqual(status, 0, msg="Xorg does not appear to be running %s" % self.target.run(oeRuntimeTest.pscmd)[1]) 16 self.assertEqual(status, 0, msg="Xorg does not appear to be running %s" % self.target.run(oeRuntimeTest.pscmd)[1])
16
17