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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
setTestOpts(js_broken(22261))
# See NullaryPlugin.hs for a description of this plugin.
test('TcPlugin_Nullary'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'NullaryPlugin.hs'
, 'TcPlugin_Nullary.hs'
])
, req_th
]
, multimod_compile
, [ 'TcPlugin_Nullary.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'
])
, req_th
]
, multimod_compile_and_run
, [ 'TcPlugin_Args.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'
])
, req_th
]
, multimod_compile
, [ 'TcPlugin_TyFam.hs'
, '-dynamic -package ghc' if have_dynamic() else '-package ghc' ]
)
# See RewritePlugin.hs for a description of this plugin.
test('TcPlugin_Rewrite'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'RewritePlugin.hs'
, 'TcPlugin_Rewrite.hs'
])
, req_th
]
, multimod_compile
, [ 'TcPlugin_Rewrite.hs'
, '-dynamic -package ghc' if have_dynamic() else '-package ghc ' ]
)
# See RewritePerfPlugin.hs for a description of this plugin.
test('TcPlugin_RewritePerf'
, [ extra_files(
[ 'RewritePerfDefs.hs'
, 'RewritePerfPlugin.hs'
, 'TcPlugin_RewritePerf.hs'
])
, only_ways(['normal'])
, collect_compiler_stats('bytes allocated', 1)
, high_memory_usage
, req_th
]
, multimod_compile_fail
, [ 'TcPlugin_RewritePerf.hs'
, '-dynamic -package ghc' if have_dynamic() else '-package ghc' ]
)
# See EmitWantedPlugin.hs for a description of this plugin.
test('TcPlugin_EmitWanted'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'EmitWantedPlugin.hs'
, 'TcPlugin_EmitWanted.hs'
])
, req_th
]
, multimod_compile_fail
, [ 'TcPlugin_EmitWanted.hs'
, '-dynamic -package ghc' if have_dynamic() else '-package ghc ' ]
)
# See TcPlugin_CtId.hs for a description of this plugin.
test('TcPlugin_CtId'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'CtIdPlugin.hs'
, 'TcPlugin_CtId.hs'
])
, req_th
]
, multimod_compile
, [ 'TcPlugin_CtId.hs'
, '-dynamic -package ghc' if have_dynamic() else '-package ghc' ]
)
|