From c4c9904b324736dc5d190a91418e8d8f564d4104 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 15 Oct 2019 17:10:03 -0400 Subject: testsuite: Assert that testsuite ways are known This ensures that all testsuite way names given to `omit_ways`, `only_ways`, etc. are known ways. --- testsuite/config/ghc | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/config') 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) -- cgit v1.2.1