mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 00:30:19 +01:00
tools: print stderr/stdout when a option test fails
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5dc1a7ebd3
commit
03bc7121eb
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class TestLibinputTool(unittest.TestCase):
|
|||
rc, stdout, stderr = self.run_command(args)
|
||||
# if we're running as user, we might fail the command but we should
|
||||
# never get rc 2 (invalid usage)
|
||||
self.assertIn(rc, [0, 1])
|
||||
self.assertIn(rc, [0, 1], msg=(stdout, stderr))
|
||||
|
||||
def run_command_unrecognized_option(self, args):
|
||||
rc, stdout, stderr = self.run_command(args)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue