summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
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/annotations
parent7cc907d310b9be716b50279d6545698dee346fb6 (diff)
downloadhaskell-8d34b5c785c56d68765e70e74e73be45be419df8.tar.gz
Convert more helper functions
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r--testsuite/tests/annotations/should_compile/all.T2
-rw-r--r--testsuite/tests/annotations/should_run/all.T2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/annotations/should_compile/all.T b/testsuite/tests/annotations/should_compile/all.T
index e13c24e72b..1c6690b2b8 100644
--- a/testsuite/tests/annotations/should_compile/all.T
+++ b/testsuite/tests/annotations/should_compile/all.T
@@ -1,5 +1,5 @@
-setTestOpts(if_compiler_profiled(skip))
+setTestOpts(when(compiler_profiled(), skip))
# Annotations, like Template Haskell, require runtime evaluation. In
# order for this to work with profiling, we would have to build the
diff --git a/testsuite/tests/annotations/should_run/all.T b/testsuite/tests/annotations/should_run/all.T
index 871b409164..6616de5df4 100644
--- a/testsuite/tests/annotations/should_run/all.T
+++ b/testsuite/tests/annotations/should_run/all.T
@@ -1,4 +1,4 @@
-setTestOpts(if_compiler_profiled(skip))
+setTestOpts(when(compiler_profiled(), skip))
# These tests are very slow due to their use of package GHC
setTestOpts(skip_if_fast)