diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-16 19:45:57 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-18 12:51:59 +0200 |
commit | d94c40561dde695e658169a3098642294f55c7e3 (patch) | |
tree | 94af58265a3f47bc6c949568661abe6f187b1aee /testsuite/driver/testglobals.py | |
parent | 6f6f515401a29d26eaa5daae308b8e700abd4c04 (diff) | |
download | haskell-d94c40561dde695e658169a3098642294f55c7e3.tar.gz |
Testsuite: validate the tests/stage1 directory with the stage1 compiler
* See `Note [Why is there no stage1 setup function?]`.
* Move T2632 to the tests/stage1 directory (#10382).
Reviewed by: ezyang, nomeata, bgamari
Differential Revision: https://phabricator.haskell.org/D2341
GHC Trac Issues: #12197
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r-- | testsuite/driver/testglobals.py | 5 |
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 = '' |