diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-31 14:12:52 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-31 17:35:07 +0200 |
commit | 8757e2db03d74ad8b0f9a0d32ddacd6ad616a795 (patch) | |
tree | acc8d8f31065cb5988724028f3489c26eed7377a /testsuite | |
parent | da17f99bc6b1e90432108d430d4be1c503d4b977 (diff) | |
download | haskell-8757e2db03d74ad8b0f9a0d32ddacd6ad616a795.tar.gz |
Testsuite: redirect stderr to /dev/null when running GS on bad.ps
This is a followup to a3d0a7a0ba3a1ee458a9883011247561dfe22f4a.
Reviewed by: Rufflewind
Differential Revision: https://phabricator.haskell.org/D780
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/driver/testlib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index b0d552e610..e178f2a3ed 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -2060,7 +2060,8 @@ if config.have_profiling: if config.gs != '': resultGood = runCmdExitCode(genGSCmd(config.confdir + '/good.ps')); if resultGood == 0: - resultBad = runCmdExitCode(genGSCmd(config.confdir + '/bad.ps') + ' >/dev/null') + resultBad = runCmdExitCode(genGSCmd(config.confdir + '/bad.ps') + + ' >/dev/null 2>&1') if resultBad != 0: print("GhostScript available for hp2ps tests") gs_working = 1; |