summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r--testsuite/driver/testglobals.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index 067b7d4afc..5d996665fa 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -122,6 +122,15 @@ class TestConfig:
# Should we skip performance tests
self.skip_perf_tests = False
+ # Only do performance tests
+ self.only_perf_tests = False
+
+ # Allowed performance changes (see perf_notes.get_allowed_perf_changes())
+ self.allowed_perf_changes = {}
+
+ # The test environment.
+ self.test_env = 'local'
+
global config
config = TestConfig()
@@ -156,6 +165,8 @@ class TestRun:
self.unexpected_failures = []
self.unexpected_stat_failures = []
+ self.metrics = []
+
global t
t = TestRun()
@@ -222,9 +233,11 @@ class TestOptions:
# 9300000000,
# 10)
# To allow a 10% deviation from 9300000000.
- self.compiler_stats_range_fields = {}
self.stats_range_fields = {}
+ # Does this test the compiler's performance as opposed to the generated code.
+ self.is_compiler_stats_test = False
+
# should we run this test alone, i.e. not run it in parallel with
# any other threads
self.alone = False
@@ -292,4 +305,3 @@ default_testopts = TestOptions()
# (bug, directory, name) of tests marked broken
global brokens
brokens = []
-