summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-e
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-11 15:07:12 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-11 15:07:12 +0000
commit8d34b5c785c56d68765e70e74e73be45be419df8 (patch)
tree1e08c26aad57c6af5559e95a265603ae454acc42 /testsuite/tests/ghc-e
parent7cc907d310b9be716b50279d6545698dee346fb6 (diff)
downloadhaskell-8d34b5c785c56d68765e70e74e73be45be419df8.tar.gz
Convert more helper functions
Diffstat (limited to 'testsuite/tests/ghc-e')
-rw-r--r--testsuite/tests/ghc-e/should_run/all.T4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghc-e/should_run/all.T b/testsuite/tests/ghc-e/should_run/all.T
index da14b703c2..4ab7567358 100644
--- a/testsuite/tests/ghc-e/should_run/all.T
+++ b/testsuite/tests/ghc-e/should_run/all.T
@@ -1,5 +1,5 @@
-setTestOpts(if_compiler_profiled(skip))
+setTestOpts(when(compiler_profiled(), skip))
test('ghc-e001', req_interp, run_command, ['$MAKE --no-print-directory -s ghc-e001'])
test('ghc-e002', req_interp, run_command, ['$MAKE --no-print-directory -s ghc-e002'])
@@ -8,7 +8,7 @@ test('ghc-e004', req_interp, run_command, ['$MAKE --no-print-directory -s ghc-e0
test('ghc-e005', req_interp, run_command, ['$MAKE --no-print-directory -s ghc-e005'])
test('T2228',
- [req_interp, if_ghci_dynamic(expect_broken(7298))],
+ [req_interp, when(ghci_dynamic(), expect_broken(7298))],
run_command,
['$MAKE --no-print-directory -s T2228'])
test('T2636', req_interp, run_command, ['$MAKE --no-print-directory -s T2636'])