Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
3394a7cd
Commit
3394a7cd
authored
Mar 07, 2019
by
Ben Gamari
🐢
Committed by
Marge Bot
Mar 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite: Display observed exit code on failure due to bad exit code
parent
8c1a2743
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
testlib.py
testsuite/driver/testlib.py
+1
-1
No files found.
testsuite/driver/testlib.py
View file @
3394a7cd
...
...
@@ -1402,7 +1402,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
(
%
d)'
%
exit_code
)
if
not
(
opts
.
ignore_stderr
or
stderr_ok
(
name
,
way
)
or
opts
.
combined_output
):
return
failBecause
(
'bad stderr'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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