summaryrefslogtreecommitdiff
path: root/testsuite/config/ghc
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-15 17:10:03 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-17 01:04:26 -0400
commitc4c9904b324736dc5d190a91418e8d8f564d4104 (patch)
tree494e436670a1dbbb0db7f4aec73f2aa51736e045 /testsuite/config/ghc
parent4efdda9057366db3ecf6beb3b889f830c0d8d641 (diff)
downloadhaskell-c4c9904b324736dc5d190a91418e8d8f564d4104.tar.gz
testsuite: Assert that testsuite ways are known
This ensures that all testsuite way names given to `omit_ways`, `only_ways`, etc. are known ways.
Diffstat (limited to 'testsuite/config/ghc')
-rw-r--r--testsuite/config/ghc1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 84e04e084d..bc888d1661 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -157,6 +157,7 @@ opt_ways = [x[0] for x in config.way_flags.items()
llvm_ways = [x[0] for x in config.way_flags.items()
if '-fflvm' in x[1]]
+
def get_compiler_info():
s = getStdout([config.compiler, '--info'])
s = re.sub('[\r\n]', '', s)