summaryrefslogtreecommitdiff
path: root/testsuite/driver/testutil.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-24 14:33:26 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-24 14:33:26 -0500
commit2e3118f54d0e54a7d8ecd3d20f4c8f7f628ad463 (patch)
treeee0178a070ee68f313f98fd6785e497640efdf92 /testsuite/driver/testutil.py
parentdf0c3966f2e16278fd6fc29360a729a199cefd73 (diff)
downloadhaskell-wip/testsuite-stdout.tar.gz
WIP: testsuite: Report stdout and stderrwip/testsuite-stdout
I'm having second thoughts about the semantics here; perhaps we actually want a diff.
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r--testsuite/driver/testutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py
index 6e0c2684d7..888e77bc5a 100644
--- a/testsuite/driver/testutil.py
+++ b/testsuite/driver/testutil.py
@@ -8,8 +8,8 @@ import threading
def passed():
return {'passFail': 'pass'}
-def failBecause(reason, tag=None):
- return {'passFail': 'fail', 'reason': reason, 'tag': tag}
+def failBecause(reason, tag=None, **kwargs):
+ return kwargs.update({'passFail': 'fail', 'reason': reason, 'tag': tag})
def strip_quotes(s):
# Don't wrap commands to subprocess.call/Popen in quotes.