summaryrefslogtreecommitdiff
path: root/testsuite/tests/tcplugins/all.T
blob: 1fe0727e0d6dd269cf60474d69f54a0f28edbd7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

# See NullaryPlugin.hs for a description of this plugin.
test('TcPlugin_Nullary'
    , [ extra_files(
        [ 'Definitions.hs'
        , 'Common.hs'
        , 'NullaryPlugin.hs'
        , 'TcPlugin_Nullary.hs'
        ])
      ]
    , multi_compile
    , [ 'TcPlugin_Nullary.hs'
      , [ ('Definitions.hs', '')
        , ('Common.hs', '')
        , ('NullaryPlugin.hs', '')
        ]
      ,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
    )

# See ArgsPlugin.hs for a description of this plugin.
test('TcPlugin_Args'
    , [ extra_files(
        [ 'Definitions.hs'
        , 'Common.hs'
        , 'ArgsPlugin.hs'
        , 'TcPlugin_Args.hs'
        ])
      ]
    , multi_compile_and_run
    , [ 'TcPlugin_Args.hs'
      , [ ('Definitions.hs', '')
        , ('Common.hs', '')
        , ('ArgsPlugin.hs', '')
        ]
      ,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
    )

# See TyFamPlugin.hs for a description of this plugin.
test('TcPlugin_TyFam'
    , [ extra_files(
        [ 'Definitions.hs'
        , 'Common.hs'
        , 'TyFamPlugin.hs'
        , 'TcPlugin_TyFam.hs'
        ])
      ]
    , multi_compile
    , [ 'TcPlugin_TyFam.hs'
      , [ ('Definitions.hs', '')
        , ('Common.hs', '')
        , ('TyFamPlugin.hs', '')
        ]
      ,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
    )