diff options
author | Reid Barton <rwbarton@gmail.com> | 2017-02-24 20:56:19 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-02-26 17:30:44 -0500 |
commit | 98119f5a5224d321a1765f262c8c76dfd1b8ed35 (patch) | |
tree | 2ab3db7664a092bfbf6af82a26fb50799695f7d7 /testsuite/tests/rts | |
parent | 8bb63c2e982a12ad5f436320948e23a718069a4f (diff) | |
download | haskell-98119f5a5224d321a1765f262c8c76dfd1b8ed35.tar.gz |
tests: manually move some extra_files into *.T files
Some of the *.T files were in libraries/hpc, so this contains an
update to that submodule.
Diffstat (limited to 'testsuite/tests/rts')
-rw-r--r-- | testsuite/tests/rts/all.T | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T index 2fae73ccf4..79e1461596 100644 --- a/testsuite/tests/rts/all.T +++ b/testsuite/tests/rts/all.T @@ -86,7 +86,9 @@ test('testwsdeque', [unless(in_tree_compiler(), skip), test('T3236', [c_src, only_ways(['normal','threaded1']), exit_code(1)], compile_and_run, ['']) test('stack001', extra_run_opts('+RTS -K32m -RTS'), compile_and_run, ['']) -test('stack002', extra_run_opts('+RTS -K32m -k4m -RTS'), compile_and_run, ['']) +test('stack002', [extra_files(['stack001.hs']), + extra_run_opts('+RTS -K32m -k4m -RTS')], + compile_and_run, ['']) # run this test with very small stack chunks to exercise the stack # overflow/underflow machinery. @@ -178,13 +180,17 @@ def checkDynAsm(actual_file, normaliser): # These should have extra_clean() arguments, but I need # to somehow extract out the name of DLLs to do that -test('T5435_v_asm', when(arch('powerpc64') or arch('powerpc64le'), - expect_broken(11259)), +test('T5435_v_asm', [extra_files(['T5435.hs', 'T5435_asm.c']), + when(arch('powerpc64') or arch('powerpc64le'), + expect_broken(11259))], run_command, ['$MAKE -s --no-print-directory T5435_v_asm']) -test('T5435_v_gcc', when(arch('powerpc64') or arch('powerpc64le'), - expect_broken(11259)), +test('T5435_v_gcc', [extra_files(['T5435.hs', 'T5435_gcc.c']), + when(arch('powerpc64') or arch('powerpc64le'), + expect_broken(11259))], run_command, ['$MAKE -s --no-print-directory T5435_v_gcc']) -test('T5435_dyn_asm', check_stdout(checkDynAsm), run_command, ['$MAKE -s --no-print-directory T5435_dyn_asm']) +test('T5435_dyn_asm', [extra_files(['T5435.hs', 'T5435_asm.c']), + check_stdout(checkDynAsm)], + run_command, ['$MAKE -s --no-print-directory T5435_dyn_asm']) test('T5435_dyn_gcc', normal , run_command, ['$MAKE -s --no-print-directory T5435_dyn_gcc']) test('T5993', extra_run_opts('+RTS -k8 -RTS'), compile_and_run, ['']) |