[commit: ghc] master: Testsuite: suppress errors when running GS on bad.ps (a3d0a7a)
git at git.haskell.org
git at git.haskell.org
Tue Mar 31 10:06:11 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a3d0a7a0ba3a1ee458a9883011247561dfe22f4a/ghc
>---------------------------------------------------------------
commit a3d0a7a0ba3a1ee458a9883011247561dfe22f4a
Author: Phil Ruffwind <rf at rufflewind.com>
Date: Tue Mar 31 12:04:50 2015 +0200
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
>---------------------------------------------------------------
a3d0a7a0ba3a1ee458a9883011247561dfe22f4a
testsuite/driver/testlib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index d3b9b20..b0d552e 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;
More information about the ghc-commits
mailing list