summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2015-03-31 12:04:50 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-31 12:05:02 +0200
commita3d0a7a0ba3a1ee458a9883011247561dfe22f4a (patch)
treed52328124155bbf5e99484985ce5648eef5bdef4 /testsuite/driver
parent995e8c1c8692b60c907c7d2ccea179d52ca8e69e (diff)
downloadhaskell-a3d0a7a0ba3a1ee458a9883011247561dfe22f4a.tar.gz
Testsuite: suppress errors when running GS on bad.ps
Suppress the errors that appear in standard output when running gs on bad.ps since it's expected to fail anyway. Reviewed By: thomie, austin Differential Revision: https://phabricator.haskell.org/D773
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index d3b9b204f9..b0d552e610 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -2060,7 +2060,7 @@ if config.have_profiling:
if config.gs != '':
resultGood = runCmdExitCode(genGSCmd(config.confdir + '/good.ps'));
if resultGood == 0:
- resultBad = runCmdExitCode(genGSCmd(config.confdir + '/bad.ps'));
+ resultBad = runCmdExitCode(genGSCmd(config.confdir + '/bad.ps') + ' >/dev/null')
if resultBad != 0:
print("GhostScript available for hp2ps tests")
gs_working = 1;