summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_run/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/annotations/should_run/all.T')
-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]
)
""""