diff options
author | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-07-14 15:43:01 -0400 |
---|---|---|
committer | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-07-14 21:27:18 -0400 |
commit | 8a70ccbb552191e1972f3c5d7fce839176c4c0e3 (patch) | |
tree | a1b9791dda1bc3326ec690c2b9ffbbc48b9ce790 /testsuite/tests/pmcheck | |
parent | 6d55e36f6d4b71402b3a27cd466d237034d3a5b8 (diff) | |
download | haskell-8a70ccbb552191e1972f3c5d7fce839176c4c0e3.tar.gz |
Reclassify some performance tests
There were some performance tests not classified by
compiler_num_stats_field, causing erroneous failures when
testing a DEBUG compiler. This fixes that oversight,
addressing #15374.
Diffstat (limited to 'testsuite/tests/pmcheck')
-rw-r--r-- | testsuite/tests/pmcheck/should_compile/all.T | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/all.T b/testsuite/tests/pmcheck/should_compile/all.T index db6e7267e0..e382e3fda4 100644 --- a/testsuite/tests/pmcheck/should_compile/all.T +++ b/testsuite/tests/pmcheck/should_compile/all.T @@ -37,10 +37,26 @@ test('T9951b', [], compile, test('T9951', [], compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns']) test('T11303', normal, compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS']) -test('T11276', compile_timeout_multiplier(0.01), compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS']) -test('T11303b', compile_timeout_multiplier(0.01), compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS']) -test('T11374', compile_timeout_multiplier(0.01), compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M1G -RTS']) -test('T11195', compile_timeout_multiplier(0.60), compile, ['-package ghc -fwarn-incomplete-patterns -fwarn-overlapping-patterns +RTS -M2G -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('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('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('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('T11984', normal, compile, ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns']) test('T14086', normal, compile, |