Make GHCi & TH work when the compiler is built with -prof
[ghc.git] / testsuite / tests / annotations / should_compile / th / all.T
1 # Annotations and Template Haskell, require runtime evaluation.  In
2 # order for this to work with profiling, we would have to build the
3 # program twice and use -osuf p_o (see the TH_splitE5_prof test).  For
4 # now, just disable the profiling ways.
5
6 test('annth_make',
7      [req_interp,
8       omit_ways(['profasm','profthreaded']),
9       unless(have_dynamic(),skip),
10       clean_cmd('$MAKE -s clean_annth_make')],
11      run_command,
12      ['$MAKE -s --no-print-directory annth_make'])
13
14 test('annth_compunits',
15      [req_interp,
16       omit_ways(['profasm','profthreaded']),
17       unless(have_dynamic(),skip),
18       clean_cmd('$MAKE -s clean_annth_compunits')],
19      run_command,
20      ['$MAKE -s --no-print-directory annth_compunits'])