mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Now we have the parselogs test, this one can be removed. (From OE-Core rev: 7977a3c28677d9a248059b0be230f345227e798a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
565 B
Python
18 lines
565 B
Python
import unittest
|
|
from oeqa.oetest import oeRuntimeTest, skipModule
|
|
from oeqa.utils.decorators import *
|
|
|
|
def setUpModule():
|
|
if not oeRuntimeTest.hasFeature("x11-base"):
|
|
skipModule("target doesn't have x11 in IMAGE_FEATURES")
|
|
|
|
|
|
class XorgTest(oeRuntimeTest):
|
|
|
|
@skipUnlessPassed('test_ssh')
|
|
def test_xorg_running(self):
|
|
(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])
|
|
|
|
|