diff options
Diffstat (limited to 'testsuite/tests/annotations/should_run/all.T')
-rw-r--r-- | testsuite/tests/annotations/should_run/all.T | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_run/all.T b/testsuite/tests/annotations/should_run/all.T new file mode 100644 index 0000000000..22256b2f85 --- /dev/null +++ b/testsuite/tests/annotations/should_run/all.T @@ -0,0 +1,31 @@ +setTestOpts(if_compiler_profiled(skip)) +# These tests are very slow due to their use of package GHC +setTestOpts(skip_if_fast) + +# 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. +test('annrun01', + [extra_clean(['Annrun01_Help.hi', 'Annrun01_Help.o', + 'annrun01.hi', 'annrun01.o', + 'Config.hs', 'Config.hi', 'Config.o']), + pre_cmd('$MAKE -s config'), + omit_ways(['profasm','profthreaded', 'dyn'])], + multimod_compile_and_run, + ['annrun01', '-package ghc'] + ) + +"""" +Helpful things to C+P: + +test('', normal, compile_fail, ['']) + +test('', normal, compile, ['']) + +test('', extra_clean(['.hi', '.o']), + multimod_compile_fail, ['', '-v0']) + +test('', extra_clean(['.hi', '.o']), + multimod_compile, ['', '-v0']) +""" |