summaryrefslogtreecommitdiff
path: root/testsuite/tests/profiling/should_run/caller-cc/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/profiling/should_run/caller-cc/all.T')
-rw-r--r--testsuite/tests/profiling/should_run/caller-cc/all.T19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/tests/profiling/should_run/caller-cc/all.T b/testsuite/tests/profiling/should_run/caller-cc/all.T
new file mode 100644
index 0000000000..2b8837aa07
--- /dev/null
+++ b/testsuite/tests/profiling/should_run/caller-cc/all.T
@@ -0,0 +1,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'])