Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
700a20d1
Commit
700a20d1
authored
Sep 03, 2007
by
Simon Marlow
Browse files
don't try to run hp2ps if the program failed with exit(>127)
parent
4bd84f7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/driver/testlib.py
View file @
700a20d1
...
...
@@ -701,7 +701,8 @@ def simple_run( name, way, prog, args ):
if
getTestOpts
().
ignore_output
or
(
check_stderr_ok
(
name
)
and
check_stdout_ok
(
name
)
and
(
not
check_hp
or
check_hp_ok
(
name
))):
(
not
check_hp
or
exit_code
>
127
or
check_hp_ok
(
name
))):
# exit_code > 127 probably indicates a crash, so don't try to run hp2ps.
return
'pass'
else
:
return
'fail'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment