summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/all.T
diff options
context:
space:
mode:
authorDavid Eichmann <davide@Well-Typed.com>2018-08-08 11:35:44 +0100
committerDavid Eichmann <davide@well-typed.com>2018-08-23 17:54:43 +0100
commita34302ceed7b936b3aa83bac64dd39aac765d146 (patch)
tree64955e84987db51fb63bbcd5b368858833fe6858 /testsuite/tests/pmcheck/should_compile/all.T
parent44ba66527ae207ce2dd64eb2bce14656d474f6d1 (diff)
downloadhaskell-a34302ceed7b936b3aa83bac64dd39aac765d146.tar.gz
testsuite: Save performance metrics in git notes.wip/t-12758_circleci_push_perf_notes_short
Reviewers: bgamari Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5059 GHC Trac Issues: #12758
Diffstat (limited to 'testsuite/tests/pmcheck/should_compile/all.T')
-rw-r--r--testsuite/tests/pmcheck/should_compile/all.T27
1 files changed, 10 insertions, 17 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/all.T b/testsuite/tests/pmcheck/should_compile/all.T
index acb2b7ff74..84892a994f 100644
--- a/testsuite/tests/pmcheck/should_compile/all.T
+++ b/testsuite/tests/pmcheck/should_compile/all.T
@@ -36,26 +36,19 @@ test('T9951b', [], compile,
['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])
test('T9951', [], compile,
['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])
-test('T11303', normal, compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
-test('T11276', compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 165890392, 10)]
- # 2018-07-14: 165890392 INITIAL
- ), compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
+test('T11303', normal, compile,
+ ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
+test('T11276', collect_compiler_stats('bytes allocated',10), compile,
+ ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
-test('T11303b', compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 54373936, 10)]
- # 2018-07-14: 54373936 INITIAL
- ), compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
+test('T11303b', collect_compiler_stats('bytes allocated',10), compile,
+ ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
-test('T11374', compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 280144864, 10)]
- # 2018-07-14: 280144864 INITIAL
- ), compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
+test('T11374', collect_compiler_stats('bytes allocated',10), compile,
+ ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS'])
-test('T11195', compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 7852567480, 10)]
- # 2018-07-14: 7852567480 INITIAL
- ), compile, ['-package ghc -fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M2G -RTS'])
+test('T11195', collect_compiler_stats('bytes allocated',10), compile,
+ ['-package ghc -fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M2G -RTS'])
test('T11984', normal, compile,
['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])