ghc 669 Bytes
Newer Older
1 2 3 4 5 6 7 8
# Testsuite configuration setup for GHC
#
# This file is Python source
#
config.compiler_type         = 'ghc'
config.compiler              = 'ghc'
config.compiler_always_flags = ['-no-recomp', '-dcore-lint']

9 10 11 12 13
# By default, we test the 'normal' and 'opt' ways.
# 'optasm' is added by mk/test.mk if the compiler has a native code gen,
# 'prof'   is added by mk/test.mk if the profiling way is enabled.
config.compile_ways	     = ['normal', 'opt']
config.run_ways		     = ['normal', 'opt']
14 15 16 17 18 19 20

config.way_flags	     = { 'normal' : [],
		   		 'opt'    : ['-O'],
		   		 'optasm' : ['-O -fasm'],
		   		 'prof'   : ['-O -prof -auto-all'],
		   		 'unreg'  : ['-unreg']
		 		}