Commits

Rob Hoelz  committed ff0e4cc

Allow specification of files/good lines for regression testing in argument list

  • Participants
  • Parent commits cda4f3c

Comments (0)

Files changed (1)

File p6-scripts/check-for-regressions.pl

     return 1;
 }
 
+unless(@ARGV) {
+    @ARGV = read_file('p6-scripts/check-files');
+}
+
 my @files = grep {
     $_->[0] !~ /^#/
 } map {
     chomp;
     [ split /:/, $_ ]
-} read_file('p6-scripts/check-files');
+} @ARGV;
 
 foreach my $pair (@files) {
     my ( $filename, $good_line ) = @$pair;