summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-01-20 14:17:50 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-01-24 07:56:47 +1000
commit34ef11d9c9d7c2b16eea273874e7627705e05d6c (patch)
tree2054f463a197b7180210181b95374127c750989d
parent0e3f72af654649f5db64cfd8c8104f88fb55eeb2 (diff)
downloadxorg-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.
-rwxr-xr-xtest/tool-option-parsing.py2
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):