summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-02-24 08:34:38 -0500
committerBen Gamari <ben@smart-cactus.org>2021-02-24 11:15:41 -0500
commit7151eaa37b8842f34e75b5e254d8185c3ce73a3d (patch)
tree35f3c4fe158d27d56535decfad505bbd2d82ac9c /testsuite/driver/testglobals.py
parent5b187ab84005e0bbc5699290116c5a186414ff7f (diff)
downloadhaskell-7151eaa37b8842f34e75b5e254d8185c3ce73a3d.tar.gz
testsuite: Introduce flag to ignore performance failures
Needed by #19025.
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 2b3dd48b68..117df41eb6 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -31,6 +31,9 @@ class TestConfig:
self.run_only_some_tests = False
self.only = set()
+ # Don't fail on out-of-tolerance stat failures
+ self.ignore_perf_failures = False
+
# Accept new output which differs from the sample?
self.accept = False
self.accept_platform = False