]> git.donarmstrong.com Git - perltidy.git/commitdiff
avoid testing files known to produce errors
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 11 Jun 2023 21:56:29 +0000 (14:56 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 11 Jun 2023 21:56:29 +0000 (14:56 -0700)
dev-bin/perltidy_random_setup.pl

index 4cd36a191d65fe5e311853db9144f4dbebfc47f4..878067a16259493cbb3862304edec4bf83163eec 100755 (executable)
@@ -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};