diff options
Diffstat (limited to 'testsuite/config')
-rw-r--r-- | testsuite/config/ghc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index 6777a59473..e974b62a96 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -33,7 +33,7 @@ config.other_ways = ['prof', 'normal_h', 'ghci-ext', 'ghci-ext-prof', 'ext-interp'] -if (ghc_with_native_codegen == 1): +if ghc_with_native_codegen: config.compile_ways.append('optasm') config.run_ways.append('optasm') @@ -44,25 +44,25 @@ if config.have_profiling: if config.have_interp: config.run_ways.append('ghci') -if (ghc_with_threaded_rts == 1): +if ghc_with_threaded_rts: config.run_ways.append('threaded1') - if (ghc_with_smp == 1): + if ghc_with_smp: config.have_smp = True config.run_ways.append('threaded2') -if (ghc_with_dynamic_rts == 1): +if ghc_with_dynamic_rts: config.have_shared_libs = True if config.ghc_dynamic_by_default and config.have_vanilla == 1: config.run_ways.append('static') else: - if (ghc_with_dynamic_rts == 1): + if ghc_with_dynamic_rts: config.run_ways.append('dyn') -if (config.have_profiling and ghc_with_threaded_rts == 1): +if (config.have_profiling and ghc_with_threaded_rts): config.run_ways.append('profthreaded') -if (ghc_with_llvm == 1 and not config.unregisterised): +if (ghc_with_llvm and not config.unregisterised): config.compile_ways.append('optllvm') config.run_ways.append('optllvm') |