diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-06-09 18:01:06 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-18 23:04:58 -0400 |
commit | 95e18292731cd799e024976f11c18fdf34bcb777 (patch) | |
tree | 25509c045db067ae4b756a781a90e92348ea84e1 | |
parent | 729bcb02716593ae46d7baecce4776b3f353e3f7 (diff) | |
download | haskell-95e18292731cd799e024976f11c18fdf34bcb777.tar.gz |
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.
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index ec1f17ad18..658cec6270 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, ['']) |