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
2961830b
Commit
2961830b
authored
Apr 03, 2009
by
Ian Lynagh
Browse files
Define if_not_platform
parent
f4326859
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/driver/testlib.py
View file @
2961830b
...
...
@@ -242,6 +242,12 @@ def if_platform( plat, f ):
else
:
return
normal
def
if_not_platform
(
plat
,
f
):
if
config
.
platform
!=
plat
:
return
f
else
:
return
normal
def
if_os
(
os
,
f
):
if
config
.
os
==
os
:
return
f
...
...
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