Commit 7973f496 authored by Simon Marlow's avatar Simon Marlow

Disable these tests when profilng

they would need extra magic, like the TH tests
parent 61292cb6
# Annotations were implemented in GHC 6.11 and not supported in other compilers
setTestOpts(if_compiler_lt('ghc', '6.11', skip));
test('ann01', normal, compile, ['-v0'])
# 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 ways.
test('ann01', omit_ways(['profc','profasm','profthreaded']), compile, ['-v0'])
""""
Helpful things to C+P:
......@@ -15,4 +19,4 @@ test('', extra_clean(['.hi', '.o']),
test('', extra_clean(['.hi', '.o']),
multimod_compile, ['', '-v0'])
"""
\ No newline at end of file
"""
......@@ -4,9 +4,14 @@ setTestOpts(compose(skip_if_fast, if_compiler_lt('ghc', '6.11', skip)));
runCmd('$MAKE -C ' + in_testdir('') + ' config')
# 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 ways.
test('annrun01',
extra_clean(['Annrun01_Help.hi', 'Annrun01_Help.o',
[extra_clean(['Annrun01_Help.hi', 'Annrun01_Help.o',
'annrun01.hi', 'annrun01.o']),
omit_ways(['profc','profasm','profthreaded'])],
multimod_compile_and_run,
['annrun01', '-package ghc']
)
......@@ -26,4 +31,4 @@ test('', extra_clean(['.hi', '.o']),
test('', extra_clean(['.hi', '.o']),
multimod_compile, ['', '-v0'])
"""
\ No newline at end of file
"""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment