Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,321
Issues
4,321
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
359
Merge Requests
359
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
848e3ceb
Commit
848e3ceb
authored
Jun 29, 2016
by
thomie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testsuite: fixes for python2.6 support
parent
2e9079ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
testsuite/driver/testlib.py
testsuite/driver/testlib.py
+3
-3
No files found.
testsuite/driver/testlib.py
View file @
848e3ceb
...
...
@@ -1236,7 +1236,7 @@ def simple_run(name, way, prog, extra_run_opts):
def
rts_flags
(
way
):
args
=
config
.
way_rts_flags
.
get
(
way
,
[])
return
'+RTS {} -RTS'
.
format
(
' '
.
join
(
args
))
if
args
else
''
return
'+RTS {
0
} -RTS'
.
format
(
' '
.
join
(
args
))
if
args
else
''
# -----------------------------------------------------------------------------
# Run a program in the interpreter and check its output
...
...
@@ -1898,9 +1898,9 @@ def summary(t, file, short=False):
file
.
write
(
'WARNING: Testsuite run was terminated early
\n
'
)
def
printUnexpectedTests
(
file
,
testInfoss
):
unexpected
=
{
name
for
testInfos
in
testInfoss
unexpected
=
set
(
name
for
testInfos
in
testInfoss
for
(
_
,
name
,
_
,
_
)
in
testInfos
if
not
name
.
endswith
(
'.T'
)
}
if
not
name
.
endswith
(
'.T'
)
)
if
unexpected
:
file
.
write
(
'Unexpected results from:
\n
'
)
file
.
write
(
'TEST="'
+
' '
.
join
(
unexpected
)
+
'"
\n
'
)
...
...
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