summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.py
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2019-01-27 20:18:24 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-17 19:52:24 -0500
commit0fff3ae6d2b821cacf33193b85307588402f1748 (patch)
tree4f7e92ddecacf11ab814ae6468328b5788f1bf71 /testsuite/driver/testglobals.py
parent4a09d30bffa0c9df10ab5e7d22293c1f39c75728 (diff)
downloadhaskell-0fff3ae6d2b821cacf33193b85307588402f1748.tar.gz
Testsuite: implement use_specs.
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r--testsuite/driver/testglobals.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index b3c9a55131..054fd713d0 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -223,6 +223,9 @@ class TestOptions:
# the stdin file that this test will use (empty for <name>.stdin)
self.stdin = ''
+ # Set the expected stderr/stdout. '' means infer from test name.
+ self.use_specs = {}
+
# don't compare output
self.ignore_stdout = False
self.ignore_stderr = False