From 37661f715b466fe924bc08ab5002f62c48ee1b3e Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Thu, 16 Dec 2021 17:25:38 +0000 Subject: testsuite: Ensure that -dcore-lint is not set for compiler performance tests This place ensures that the default -dcore-lint option is disabled by default when collect_compiler_stats is used but you can still pass -dcore-lint as an additional option (see T1969 which tests core lint performance). Fixes #20830 ------------------------- Metric Decrease: PmSeriesS PmSeriesT PmSeriesV T10858 T11195 T11276 T11374 T11822 T14052 T14052Type T17096 T17836 T17836b T18478 T18698a T18698b ------------------------- --- testsuite/driver/testlib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 1f525234e4..42b979f1f0 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -495,6 +495,7 @@ def _extra_files(name, opts, files): # collect_stats is used in the majority case when the metrics to be collected # are about the performance of the runtime code generated by the compiler. def collect_compiler_stats(metric='all',deviation=20): + setTestOpts(no_lint) return lambda name, opts, m=metric, d=deviation: _collect_stats(name, opts, m,d, True) def collect_stats(metric='all', deviation=20): -- cgit v1.2.1