Commit 7287bb9e authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan Committed by Marge Bot

testsuite: Show exit code of GHCi tests on failure

parent 1085090e
......@@ -1489,7 +1489,7 @@ def interpreter_run(name, way, extra_hc_opts, top_mod):
print('Wrong exit code for ' + name + '(' + way + ') (expected', getTestOpts().exit_code, ', actual', exit_code, ')')
return failBecause('bad exit code')
return failBecause('bad exit code (%d)' % exit_code)
# ToDo: if the sub-shell was killed by ^C, then exit
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment