From: Steve Hancock Date: Sun, 11 Jun 2023 21:56:29 +0000 (-0700) Subject: avoid testing files known to produce errors X-Git-Tag: 20230309.04~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cf11f0a7581634c46a1ea5eadcbebd11d3024d20;p=perltidy.git avoid testing files known to produce errors --- diff --git a/dev-bin/perltidy_random_setup.pl b/dev-bin/perltidy_random_setup.pl index 4cd36a19..878067a1 100755 --- a/dev-bin/perltidy_random_setup.pl +++ b/dev-bin/perltidy_random_setup.pl @@ -223,6 +223,11 @@ sub filter_files { @{$rlist} = grep { $_ !~ /\.LOG$/ } @{$rlist}; @{$rlist} = grep { $_ !~ /\bDIAGNOSTICS$/ } @{$rlist}; + # Ignore files with associated .ERR files + # Otherwise, it is too difficult to locate new problems in testing + # NOTE: this could also be an option + @{$rlist} = grep { !-e "$_.ERR" } + # exclude pro{$rlist} @{$rlist} = grep { $_ !~ /profile\.[0-9]*/ } @{$rlist};