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,325
Issues
4,325
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
369
Merge Requests
369
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
b0569e88
Commit
b0569e88
authored
Apr 28, 2016
by
thomie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testsuite: benign test fixes
parent
9dc34d31
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
7 deletions
+17
-7
testsuite/tests/deSugar/should_fail/all.T
testsuite/tests/deSugar/should_fail/all.T
+1
-1
testsuite/tests/gadt/gadt-fd.hs
testsuite/tests/gadt/gadt-fd.hs
+5
-0
testsuite/tests/gadt/lazypatok.hs
testsuite/tests/gadt/lazypatok.hs
+1
-1
testsuite/tests/parser/unicode/all.T
testsuite/tests/parser/unicode/all.T
+1
-1
testsuite/tests/partial-sigs/should_compile/all.T
testsuite/tests/partial-sigs/should_compile/all.T
+0
-1
testsuite/tests/programs/okeefe_neural/test.T
testsuite/tests/programs/okeefe_neural/test.T
+7
-1
testsuite/tests/rename/should_fail/all.T
testsuite/tests/rename/should_fail/all.T
+1
-1
testsuite/tests/typecheck/T11824/all.T
testsuite/tests/typecheck/T11824/all.T
+1
-1
No files found.
testsuite/tests/deSugar/should_fail/all.T
View file @
b0569e88
...
...
@@ -3,4 +3,4 @@
# extra run flags
# expected process return value, if not zero
test
('
DsStrictFail
',
ex
pect_fail
,
compile_and_run
,
[''])
test
('
DsStrictFail
',
ex
it_code
(
1
)
,
compile_and_run
,
[''])
testsuite/tests/gadt/gadt-fd.hs
View file @
b0569e88
{-# LANGUAGE GADTs #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE UndecidableInstances #-}
-- Trac #345
...
...
testsuite/tests/gadt/lazypatok.hs
View file @
b0569e88
{-# LANGUAGE GADTs #-}
-- It's not clear whether this one should succed or fail,
-- It's not clear whether this one should succe
e
d or fail,
-- Arguably it should succeed because the type refinement on
-- T1 should make (y::Int). Currently, though, it fails.
...
...
testsuite/tests/parser/unicode/all.T
View file @
b0569e88
...
...
@@ -27,4 +27,4 @@ test('T7671', normal, compile, [''])
test
('
T10907
',
normal
,
compile
,
[''])
test
('
T7650
',
normal
,
compile
,
[''])
test
('
arrowsyntax
',
normal
,
compile
,
[''])
\ No newline at end of file
test
('
arrowsyntax
',
normal
,
compile
,
[''])
testsuite/tests/partial-sigs/should_compile/all.T
View file @
b0569e88
...
...
@@ -29,7 +29,6 @@ test('HigherRank1', normal, compile, ['-ddump-types -fno-warn-partial-type-signa
test
('
HigherRank2
',
normal
,
compile
,
['
-ddump-types -fno-warn-partial-type-signatures
'])
test
('
LocalDefinitionBug
',
normal
,
compile
,
['
-ddump-types -fno-warn-partial-type-signatures
'])
test
('
Meltdown
',
normal
,
compile
,
['
-ddump-types -fno-warn-partial-type-signatures
'])
# Bug
test
('
MonoLocalBinds
',
normal
,
compile
,
['
-ddump-types -fno-warn-partial-type-signatures
'])
test
('
NamedTyVar
',
normal
,
compile
,
['
-ddump-types -fno-warn-partial-type-signatures
'])
test
('
NamedWildcardInDataFamilyInstanceLHS
',
normal
,
compile
,
['
-ddump-types -fno-warn-partial-type-signatures
'])
...
...
testsuite/tests/programs/okeefe_neural/test.T
View file @
b0569e88
# this one causes the compiler to run out of heap in the simplifier
# TODO. What's the purpose of this test? If you give it 100Mb of heap, it
# compiles fine (though it takes a while). Is that too much?
# Does the fact that this test is marked expect_fail (instead of expect_broken)
# mean anything?
# Is it necessary to also run the resulting program? It doesn't seem to ever
# complete, at least not in a few minutes. What is the expected output?
def
set_opts
(
name
,
opts
):
opts
.
expect
=
'
fail
'
...
...
@@ -9,4 +15,4 @@ test('okeefe_neural',
set_opts
,
extra_clean
(['
Main.hi
'])],
multimod_compile_and_run
,
['
Main
',
'
-package lang
+RTS -M64m -RTS
'])
['
Main
',
'
+RTS -M64m -RTS
'])
testsuite/tests/rename/should_fail/all.T
View file @
b0569e88
...
...
@@ -137,4 +137,4 @@ test('T5001b', normal, compile_fail, [''])
test
('
T10781
',
normal
,
compile_fail
,
[''])
test
('
T11071
',
normal
,
compile_fail
,
[''])
test
('
T11071a
',
normal
,
compile_fail
,
[''])
test
('
T11663
',
normal
,
compile_fail
,
[''])
\ No newline at end of file
test
('
T11663
',
normal
,
compile_fail
,
[''])
testsuite/tests/typecheck/T11824/all.T
View file @
b0569e88
test
('
T11824
',
expect_broken
(
11824
),
compile_and_run
,
[''])
\ No newline at end of file
test
('
T11824
',
expect_broken
(
11824
),
compile_and_run
,
[''])
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