From 8a70ccbb552191e1972f3c5d7fce839176c4c0e3 Mon Sep 17 00:00:00 2001 From: Richard Eisenberg Date: Sat, 14 Jul 2018 15:43:01 -0400 Subject: 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. --- testsuite/tests/pmcheck/should_compile/all.T | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'testsuite/tests/pmcheck') 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, -- cgit v1.2.1