Commit a9b01c08 authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan

Mark some TH tests as req_interp

- dataToExpQUnit
- qq005
- qq006
- qq007
- qq008
- qq009
- T13949
- T8025
parent de692fd5
# difficult to test TH with profiling, because we have to build twice
test('dataToExpQUnit', omit_ways(prof_ways), compile, ['-v0'])
test('dataToExpQUnit', [omit_ways(prof_ways), req_interp], compile, ['-v0'])
......@@ -5,6 +5,7 @@ test('qq005',
# profiling ways, due to the TH use, so for now we just
# omit the profiling ways
omit_ways(prof_ways),
extra_clean(['Expr.hi', 'Expr.o', 'Main.hi', 'Main.o'])],
extra_clean(['Expr.hi', 'Expr.o', 'Main.hi', 'Main.o']),
req_interp],
multimod_compile_and_run,
['Main', ''])
test('qq006', [extra_files(['Expr.hs', 'Main.hs']),
when(fast(), skip)], multimod_compile_fail,
when(fast(), skip),
req_interp], multimod_compile_fail,
['Main', '-v0'])
test('qq007',
[extra_files(['QQ.hs', 'Test.hs']),
when(fast(), skip), pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
omit_ways(prof_ways)],
omit_ways(prof_ways),
req_interp],
multimod_compile, ['Test', '-v0 ' + config.ghc_th_way_flags])
test('qq008',
[extra_files(['QQ.hs', 'Test.hs']),
when(fast(), skip), pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
omit_ways(prof_ways)],
omit_ways(prof_ways),
req_interp],
multimod_compile, ['Test', '-v0 ' + config.ghc_th_way_flags])
test('qq009',
[extra_files(['QQ.hs', 'Test.hs']),
when(fast(), skip), pre_cmd('$MAKE -s --no-print-directory TH_QQ'),
omit_ways(prof_ways)],
omit_ways(prof_ways),
req_interp],
multimod_compile, ['Test', '-v0 ' + config.ghc_th_way_flags])
......@@ -7,6 +7,6 @@
# (1) Use -fexternal-interpreter, or
# (2) Build the program twice: once with -dynamic, and then
# with -prof using -osuf to set a different object file suffix.
test('T13949', [extra_files(['ASCII.hs', 'PatternGenerator.hs', 'These.hs', 'Tree.hs']),
test('T13949', [extra_files(['ASCII.hs', 'PatternGenerator.hs', 'These.hs', 'Tree.hs']), req_interp,
omit_ways(['profasm'])],
multimod_compile, ['ASCII PatternGenerator These Tree', '-fno-code -v0'])
\ No newline at end of file
multimod_compile, ['ASCII PatternGenerator These Tree', '-fno-code -v0'])
......@@ -5,5 +5,5 @@
# (1) Use -fexternal-interpreter, or
# (2) Build the program twice: once with -dynamic, and then
# with -prof using -osuf to set a different object file suffix.
test('T8025', [extra_files(['A.hs', 'B.hs']), omit_ways(['profasm'])],
multimod_compile, ['A B', '-fno-code -v0'])
\ No newline at end of file
test('T8025', [extra_files(['A.hs', 'B.hs']), omit_ways(['profasm']), req_interp],
multimod_compile, ['A B', '-fno-code -v0'])
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