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,323
Issues
4,323
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
377
Merge Requests
377
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
985e3679
Commit
985e3679
authored
Aug 29, 2014
by
Sergei Trofimovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite: normalise integer library name for T8958
Signed-off-by:
Sergei Trofimovich
<
slyfox@gentoo.org
>
parent
eac87286
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
testsuite/driver/testlib.py
testsuite/driver/testlib.py
+2
-4
testsuite/tests/roles/should_compile/T8958.stderr
testsuite/tests/roles/should_compile/T8958.stderr
+1
-1
testsuite/tests/roles/should_compile/all.T
testsuite/tests/roles/should_compile/all.T
+1
-1
No files found.
testsuite/driver/testlib.py
View file @
985e3679
...
...
@@ -1596,10 +1596,8 @@ def normalise_errmsg( str ):
# The inplace ghc's are called ghc-stage[123] to avoid filename
# collisions, so we need to normalise that to just "ghc"
str
=
re
.
sub
(
'ghc-stage[123]'
,
'ghc'
,
str
)
# We sometimes see the name of the integer-gmp package on stderr,
# but this can change (either the implementation name or the
# version number), so we canonicalise it here
str
=
re
.
sub
(
'integer-[a-z]+'
,
'integer-impl'
,
str
)
# Error messages simetimes contain integer implementation package
str
=
re
.
sub
(
'integer-(gmp|simple)-[0-9.]+'
,
'integer-<IMPL>-<VERSION>'
,
str
)
return
str
# normalise a .prof file, so that we can reasonably compare it against
...
...
testsuite/tests/roles/should_compile/T8958.stderr
View file @
985e3679
...
...
@@ -17,7 +17,7 @@ INSTANCES
-- Defined at T8958.hs:10:10
Dependent modules: []
Dependent packages: [base-4.7.1.0, ghc-prim-0.3.1.0,
integer-
gmp-0.5.1.0
]
integer-
<IMPL>-<VERSION>
]
==================== Typechecker ====================
AbsBinds [a] []
...
...
testsuite/tests/roles/should_compile/all.T
View file @
985e3679
...
...
@@ -5,4 +5,4 @@ test('Roles4', only_ways('normal'), compile, ['-ddump-tc'])
test
('
Roles13
',
only_ways
('
normal
'),
compile
,
['
-ddump-simpl -dsuppress-uniques
'])
test
('
Roles14
',
only_ways
('
normal
'),
compile
,
['
-ddump-tc
'])
test
('
RolesIArray
',
only_ways
('
normal
'),
compile
,
[''])
test
('
T8958
',
only_ways
('
normal
')
,
compile
,
['
-ddump-tc -dsuppress-uniques
'])
test
('
T8958
',
[
normalise_fun
(
normalise_errmsg
),
only_ways
('
normal
')]
,
compile
,
['
-ddump-tc -dsuppress-uniques
'])
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