From 57d6a78e728696f531ad5c6e71ce85293c4bf58c Mon Sep 17 00:00:00 2001 From: Andreas Klebinger Date: Tue, 9 Jun 2020 18:01:06 +0200 Subject: Relax allocation threshold for T12150. This test performs little work, so the most minor allocation changes often cause the test to fail. Increasing the threshold to 2% should help with this. --- testsuite/tests/perf/compiler/all.T | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index 5a865fdd14..b50f6dbcc8 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -234,9 +234,14 @@ test('T12707', compile, ['']) +# This test is meant to test regressions involving the +# pattern match checker. Any regression there will show +# up massively, but otherwise it hardly allocates. So we +# are slightly more generous with the allocation threshold +# to avoid spurious errors. test('T12150', [ only_ways(['optasm']), - collect_compiler_stats('bytes allocated', 1) + collect_compiler_stats('bytes allocated', 2) ], compile, ['']) -- cgit v1.2.1