summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_run/all.T
blob: cba34c55596e640b2cd935d478555ef57b508f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# These tests are very slow due to their use of package GHC
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_spliceE5_prof test).  For
# now, just disable the profiling and dynamic ways, and use
# config.ghc_th_way_flags.
test('annrun01',
     [pre_cmd('$MAKE -s --no-print-directory config'),
      omit_ways(['dyn'] + prof_ways)],
     multimod_compile_and_run,
     ['annrun01', '-package ghc ' + config.ghc_th_way_flags])

""""
Helpful things to C+P:

test('', normal, compile_fail, [''])

test('', normal, compile, [''])

test('', [], multimod_compile_fail, ['', '-v0'])

test('', [], multimod_compile, ['', '-v0'])
"""