Commit 29406aab authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Ignore output when told to in the ghci way

parent bf516c4e
......@@ -713,7 +713,8 @@ def interpreter_run( name, way, extra_hc_opts, compile_only, top_mod ):
# ToDo: if the sub-shell was killed by ^C, then exit
if check_stdout_ok(name) and check_stderr_ok(name):
if getTestOpts().ignore_output or (check_stdout_ok(name) and
check_stderr_ok(name)):
return 'pass'
else:
return 'fail'
......
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