summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_compile/th/all.T
blob: b44a0d594f6b7bd06193786edaeded811a9b7703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
setTestOpts(when(compiler_profiled(), skip))

# Annotations and 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 ways.

test('annth_make',
     [req_interp,
      omit_ways(['profasm','profthreaded']),
      unless(have_dynamic(),skip),
      clean_cmd('$MAKE -s clean_annth_make')],
     run_command,
     ['$MAKE -s --no-print-directory annth_make'])

test('annth_compunits',
     [req_interp,
      omit_ways(['profasm','profthreaded']),
      unless(have_dynamic(),skip),
      clean_cmd('$MAKE -s clean_annth_compunits')],
     run_command,
     ['$MAKE -s --no-print-directory annth_compunits'])