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
bd7a0256
Commit
bd7a0256
authored
Dec 14, 2006
by
Ian Lynagh
Browse files
add 'broken' variant of expect_broken_if_platform
parent
c66663d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/driver/testlib.py
View file @
bd7a0256
...
...
@@ -127,6 +127,13 @@ def expect_fail_if_platform( plat ):
def
_expect_fail_if_platform
(
opts
,
plat
):
if
config
.
platform
==
plat
:
opts
.
expect
=
'fail'
def
expect_broken_if_platform
(
bug
,
plat
):
return
lambda
opts
,
b
=
bug
,
p
=
plat
:
_expect_broken_if_platform
(
opts
,
b
,
p
)
def
_expect_broken_if_platform
(
opts
,
bug
,
plat
):
if
config
.
platform
==
plat
:
opts
.
expect
=
'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