summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-16 17:12:58 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-16 17:12:58 +0100
commit08da282549376ca8458501c82e85cf59392c0f70 (patch)
tree6b3f56a0b4b30794ffc5995ebc357ad9949b67bf /testsuite/tests/annotations
parent9e5f86a17fcc4ce41f3e662898df2bae00ad88e9 (diff)
downloadhaskell-08da282549376ca8458501c82e85cf59392c0f70.tar.gz
Fix annrun01 with dynamic GHC
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r--testsuite/tests/annotations/should_run/all.T5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/annotations/should_run/all.T b/testsuite/tests/annotations/should_run/all.T
index 444ac30912..db01b2579f 100644
--- a/testsuite/tests/annotations/should_run/all.T
+++ b/testsuite/tests/annotations/should_run/all.T
@@ -5,7 +5,8 @@ setTestOpts(when(fast(), skip))
# Annotations, like Template Haskell, require runtime evaluation. In
# order for this to work with profiling, we would have to build the
# program twice and use -osuf p_o (see the TH_splitE5_prof test). For
-# now, just disable the profiling and dynamic ways.
+# now, just disable the profiling and dynamic ways, and use
+# config.ghc_th_way_flags.
test('annrun01',
[extra_clean(['Annrun01_Help.hi', 'Annrun01_Help.o',
'annrun01.hi', 'annrun01.o',
@@ -13,7 +14,7 @@ test('annrun01',
pre_cmd('$MAKE -s --no-print-directory config'),
omit_ways(['profasm','profthreaded', 'dyn'])],
multimod_compile_and_run,
- ['annrun01', '-package ghc']
+ ['annrun01', '-package ghc ' + config.ghc_th_way_flags]
)
""""