all.T 776 Bytes
Newer Older
1
2
3
4
5
6
7
8
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',
9
10
11
     [req_interp,
      omit_ways(['profasm','profthreaded']),
      unless(have_dynamic(),skip),
12
13
14
15
16
      clean_cmd('$MAKE -s clean_annth_make')],
     run_command,
     ['$MAKE -s --no-print-directory annth_make'])

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