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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index d08141f251..fbe030a07a 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -60,11 +60,14 @@ class TestConfig:
self.list_broken = False
- # Path to the compiler
+ # Path to the compiler (stage2 by default)
self.compiler = ''
# and ghc-pkg
self.ghc_pkg = ''
+ # Is self.compiler a stage 1, 2 or 3 compiler?
+ self.stage = 2
+
# Compiler version info
self.compiler_version = ''
self.compiler_maj_version = ''