Commit 08da2825 authored by's avatar
Browse files

Fix annrun01 with dynamic GHC

parent 9e5f86a1
......@@ -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.
[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'])],
['annrun01', '-package ghc']
['annrun01', '-package ghc ' + config.ghc_th_way_flags]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment