Skip to content
GitLab
Menu
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
09819a8e
Commit
09819a8e
authored
Aug 30, 2006
by
Simon Marlow
Browse files
add skip_if_platform
parent
56ec4f5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/driver/testlib.py
View file @
09819a8e
...
...
@@ -170,6 +170,15 @@ def skip_if_fast(opts):
if
config
.
fast
:
opts
.
skip
=
1
# -----
def
skip_if_platform
(
plat
):
return
lambda
opts
,
p
=
plat
:
_skip_if_platform
(
opts
,
p
)
def
_skip_if_platform
(
opts
,
plat
):
if
config
.
platform
==
plat
:
opts
.
skip
=
1
# ---
def
alone
(
opts
):
opts
.
alone
=
1
...
...
Write
Preview
Supports
Markdown
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