diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-24 20:45:04 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-29 18:20:51 +0200 |
commit | 1084d3755cac6ccd90f8decc0d79c315387ae388 (patch) | |
tree | a71d2acd5aa581d9c4edea6969edc3d0afc3447f /testsuite/tests/concurrent | |
parent | 8f7194fae23bdc6db72fc5784933f50310ce51f9 (diff) | |
download | haskell-1084d3755cac6ccd90f8decc0d79c315387ae388.tar.gz |
Testsuite: use ignore_stderr/stdout instead of ignore_output
The problem with ignore_output is that it hides errors for WAY=ghci.
GHCi always returns with exit code 0 (unless it is broken itself).
For example: ghci015 must have been failing with compile errors for
years, but we didn't notice because all output was ignored.
Therefore, replace all uses of ignore_output with either ignore_stderr
or ignore_stdout. In some cases I opted for adding the expected output.
Update submodule hpc and stm.
Reviewed by: simonmar
Differential Revision: https://phabricator.haskell.org/D2367
Diffstat (limited to 'testsuite/tests/concurrent')
-rw-r--r-- | testsuite/tests/concurrent/should_run/all.T | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T index a974f6a304..9f2ed284f6 100644 --- a/testsuite/tests/concurrent/should_run/all.T +++ b/testsuite/tests/concurrent/should_run/all.T @@ -239,9 +239,9 @@ test('conc064', exit_code(1), compile_and_run, ['']) -test('conc065', ignore_output, compile_and_run, ['']) -test('conc066', ignore_output, compile_and_run, ['']) -test('conc067', ignore_output, compile_and_run, ['']) +test('conc065', ignore_stdout, compile_and_run, ['']) +test('conc066', ignore_stdout, compile_and_run, ['']) +test('conc067', ignore_stdout, compile_and_run, ['']) # omit threaded2, the behaviour of this test is non-deterministic with more # than one CPU. |