diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-06-12 13:52:02 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-06-13 01:01:08 +0200 |
commit | 6e542a62e070b113f95908315c81d01c300d8803 (patch) | |
tree | 3b0962020555dd6b22907956d0795023df3cc886 /testsuite/tests | |
parent | 5ddd90415f307cac72d75d86da58e552b168ee30 (diff) | |
download | haskell-6e542a62e070b113f95908315c81d01c300d8803.tar.gz |
Testsuite: add function compile_timeout_multiplier (#10345)
And rename timeout_multiplier to run_timeout_multiplier.
timeout_multiplier was added in commit
a00389794b839971c7d52ead9e8570bfaa25ac55. The name suggested that it
would affect any test, but it actually only affected tests that had a
run component, and only that run component (as needed by test T367).
Differential Revision: https://phabricator.haskell.org/D982
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/concurrent/should_run/all.T | 8 | ||||
-rw-r--r-- | testsuite/tests/parser/should_fail/all.T | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T index 5288ff9811..2d3ac2e376 100644 --- a/testsuite/tests/concurrent/should_run/all.T +++ b/testsuite/tests/concurrent/should_run/all.T @@ -22,8 +22,12 @@ test('conc072', only_ways(['threaded2']), compile_and_run, ['']) test('conc073', normal, compile_and_run, ['']) # vector code must get inlined to become non-allocating -test('T367', [reqlib('vector'), omit_ways(['ghci']), timeout_multiplier(0.001)], compile_and_run, ['-O2 -fno-omit-yields']) -test('T367_letnoescape', [timeout_multiplier(0.02), expect_broken_for(7297,['optllvm'])], compile_and_run, ['-fno-omit-yields']) +test('T367', + [reqlib('vector'), omit_ways(['ghci']), run_timeout_multiplier(0.001)], + compile_and_run, ['-O2 -fno-omit-yields']) +test('T367_letnoescape', + [run_timeout_multiplier(0.02), expect_broken_for(7297,['optllvm'])], + compile_and_run, ['-fno-omit-yields']) test('T1980', normal, compile_and_run, ['']) test('T2910', normal, compile_and_run, ['']) diff --git a/testsuite/tests/parser/should_fail/all.T b/testsuite/tests/parser/should_fail/all.T index cc59a14d28..affea929d3 100644 --- a/testsuite/tests/parser/should_fail/all.T +++ b/testsuite/tests/parser/should_fail/all.T @@ -84,6 +84,7 @@ test('T984', normal, compile_fail, ['']) test('T7848', normal, compile_fail, ['-dppr-user-length=100']) test('ExportCommaComma', normal, compile_fail, ['']) test('T8430', literate, compile_fail, ['']) -test('T8431', [timeout_multiplier(0.05)], compile_fail, ['-XAlternativeLayoutRule']) +test('T8431', compile_timeout_multiplier(0.05), + compile_fail, ['-XAlternativeLayoutRule']) test('T8506', normal, compile_fail, ['']) test('T9225', normal, compile_fail, ['']) |