blob: c08e7cb6f556dc102f72aa53b5440d7c2027de8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
def f(name, opts):
opts.extra_hc_opts = '-XTemplateHaskell -package template-haskell'
if (ghc_with_interpreter == 0):
opts.skip = 1
setTestOpts(f)
setTestOpts(only_compiler_types(['ghc']))
setTestOpts(only_ways(['normal','ghci']))
setTestOpts(when(compiler_profiled(), skip))
test('TH_spliceViewPat',
extra_clean(['Main.o', 'Main.hi', 'A.o', 'A.hi']),
multimod_compile_and_run,
['Main', config.ghc_th_way_flags])
|