diff options
-rw-r--r-- | testsuite/tests/perf/should_run/all.T | 2 | ||||
-rw-r--r-- | testsuite/tests/pmcheck/should_compile/all.T | 24 |
2 files changed, 21 insertions, 5 deletions
diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T index 0e7996ef70..a8107c487a 100644 --- a/testsuite/tests/perf/should_run/all.T +++ b/testsuite/tests/perf/should_run/all.T @@ -562,7 +562,7 @@ test('T13623', ['-O2']) test('T14052', - [stats_num_field('bytes allocated', + [compiler_stats_num_field('bytes allocated', [ (wordsize(64), 2346183840, 15) ])], ghci_script, ['T14052.script']) 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, |