diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-03-07 10:13:13 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-03-07 10:13:13 -0500 |
commit | 671338c5bac7b6169e6a990c09fcf14dcc752dec (patch) | |
tree | ed7b3936f0b5075e5b85db85c61423d93a9a3bb0 | |
parent | cbb1dd2494619d4e22d897233f9e0b5908a1e429 (diff) | |
download | haskell-wip/mark-fragile-windows-tests.tar.gz |
testsuite: Display observed exit code on failure due to bad exit codewip/mark-fragile-windows-tests
-rw-r--r-- | testsuite/driver/testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index edd43fba9d..6a588a81ac 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -1378,7 +1378,7 @@ def simple_run(name, way, prog, extra_run_opts): print('Wrong exit code for ' + name + '(' + way + ')' + '(expected', opts.exit_code, ', actual', exit_code, ')') dump_stdout(name) dump_stderr(name) - return failBecause('bad exit code') + return failBecause('bad exit code (' + exit_code + ')') if not (opts.ignore_stderr or stderr_ok(name, way) or opts.combined_output): return failBecause('bad stderr') |