diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2022-01-20 14:17:50 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-01-24 07:56:47 +1000 |
commit | 34ef11d9c9d7c2b16eea273874e7627705e05d6c (patch) | |
tree | 2054f463a197b7180210181b95374127c750989d /test | |
parent | 0e3f72af654649f5db64cfd8c8104f88fb55eeb2 (diff) | |
download | xorg-lib-libxkbcommon-34ef11d9c9d7c2b16eea273874e7627705e05d6c.tar.gz |
test: show the tool exit status on failure
We already do so for the non-successful cases, let's do this here too so we know
whether it was a signal or a normal exit.
Diffstat (limited to 'test')
-rwxr-xr-x | test/tool-option-parsing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tool-option-parsing.py b/test/tool-option-parsing.py index 0f8b240..6692d58 100755 --- a/test/tool-option-parsing.py +++ b/test/tool-option-parsing.py @@ -100,7 +100,7 @@ class XkbcliTool: for testfunc, reason in self.skipError: if testfunc(rc, stdout, stderr): raise unittest.SkipTest(reason) - assert rc == 0, (stdout, stderr) + assert rc == 0, (rc, stdout, stderr) return stdout, stderr def run_command_invalid(self, args): |