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
4a67f94f
Commit
4a67f94f
authored
Dec 19, 2006
by
Ian Lynagh
Browse files
fail -> broken
parent
f0a97010
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/driver/testlib.py
View file @
4a67f94f
...
...
@@ -150,6 +150,13 @@ def _expect_fail_if_compiler_type( opts, compiler_type ):
if
config
.
compiler_type
==
compiler_type
:
opts
.
expect
=
'fail'
def
expect_broken_if_compiler_type
(
compiler_type
):
return
lambda
opts
,
b
=
bug
,
c
=
compiler_type
:
_expect_broken_if_compiler_type
(
opts
,
b
,
c
)
def
_expect_broken_if_compiler_type
(
opts
,
bug
,
compiler_type
):
if
config
.
compiler_type
==
compiler_type
:
opts
.
expect
=
'fail'
# -----
def
set_stdin
(
file
):
...
...
testsuite/tests/ghc-regress/parser/should_fail/all.T
View file @
4a67f94f
...
...
@@ -32,7 +32,7 @@ test('read025', normal, compile_fail, [''])
test
('
read026
',
normal
,
compile_fail
,
[''])
# Fails in GHC 6.2+
test
('
read027
',
expect_
fail
_if_compiler_type
('
ghc
'),
compile_fail
,
[''])
test
('
read027
',
expect_
broken
_if_compiler_type
(
1060
,
'
ghc
'),
compile_fail
,
[''])
test
('
read028
',
normal
,
compile_fail
,
[''])
test
('
read029
',
normal
,
compile_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