blob: 2b8837aa07c4bba3496fb9d6582b700de54df211 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
setTestOpts(req_profiling)
setTestOpts(extra_ways(['prof', 'ghci-ext-prof']))
setTestOpts(only_ways(prof_ways))
setTestOpts(extra_files(['Main.hs']))
setTestOpts(extra_run_opts('7'))
# N.B. Main.hs is stolen from heapprof001.
test('CallerCc1', normal,
multimod_compile_and_run,
['Main', '-fprof-callers=*.concat -O0'])
test('CallerCc2', normal,
multimod_compile_and_run,
['Main', '-fprof-callers=Data.Foldable.concat -O0'])
test('CallerCc3', normal,
multimod_compile_and_run,
['Main', '-fprof-callers=Data.Foldable.con*at -O0'])
|