diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-07-11 14:43:38 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-07-11 15:26:20 -0400 |
commit | 20880b56267059f98ca9ca099b596fb0b7cf0c7e (patch) | |
tree | f53e8f9d0f92e2546704e4b90b69dec6ccc2a330 | |
parent | be04c16b0e5fe9d50562e0868b890b0f9b778a41 (diff) | |
download | haskell-20880b56267059f98ca9ca099b596fb0b7cf0c7e.tar.gz |
testsuite: Show stderr output on command failure
Reviewers: austin
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3716
-rw-r--r-- | testsuite/driver/testutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index d35fb8199d..dcba1777d1 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -22,7 +22,7 @@ def getStdout(cmd_and_args): if r != 0: raise Exception("Command failed: " + str(cmd_and_args)) if stderr: - raise Exception("stderr from command: " + str(cmd_and_args)) + raise Exception("stderr from command: %s\nOutput:\n%s\n" % (cmd_and_args, stderr)) return stdout def mkdirp(path): |