mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
support/testing: test_weston.py: use assertRunNotOk()
Use the helper to simplify the test.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8ffa090560)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
33866bc42c
commit
44001e3e87
@@ -150,5 +150,4 @@ class TestWeston(infra.basetest.BRTest, GraphicsBase):
|
|||||||
|
|
||||||
# Now weston is supposed to be stopped,
|
# Now weston is supposed to be stopped,
|
||||||
# a simple client is expected to fail.
|
# a simple client is expected to fail.
|
||||||
_, exit_code = self.emulator.run("wayland-info")
|
self.assertRunNotOk("wayland-info")
|
||||||
self.assertNotEqual(exit_code, 0)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user