test.T 446 Bytes
Newer Older
1
def f(name, opts):
2
    opts.extra_hc_opts = '-XTemplateHaskell -package template-haskell'
3 4
    if (ghc_with_interpreter == 0):
        opts.skip = 1
5 6

setTestOpts(f)
7 8 9
setTestOpts(only_compiler_types(['ghc']))
setTestOpts(only_ways(['normal','ghci']))
setTestOpts(when(compiler_profiled(), skip))
10

11 12 13
test('TH_spliceViewPat',
     extra_clean(['Main.o', 'Main.hi', 'A.o', 'A.hi']),
     multimod_compile_and_run,
14
     ['Main', config.ghc_th_way_flags])