summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2016-07-27 22:18:23 -0700
committerFather Chrysostomos <sprout@cpan.org>2016-07-28 09:55:25 -0700
commit5d3908cb49f1d84ebc7b8efec7c2b302c84eae5b (patch)
treedf2ead3f511373e91a9d2d82588a0ebb9e34b778
parent1279d9234c7e7c0c0cc4d980396201696bace825 (diff)
downloadperl-5d3908cb49f1d84ebc7b8efec7c2b302c84eae5b.tar.gz
t/lib/common.pl: Ignore .rej files
-rw-r--r--t/lib/common.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/common.pl b/t/lib/common.pl
index 367c676d51..4ff2b09dfb 100644
--- a/t/lib/common.pl
+++ b/t/lib/common.pl
@@ -27,7 +27,8 @@ if (@ARGV) {
print "ARGV = [@ARGV]\n";
@w_files = map { "./lib/$pragma_name/$_" } @ARGV;
} else {
- @w_files = sort glob catfile(curdir(), "lib", $pragma_name, "*");
+ @w_files = sort grep !/\.rej\z/,
+ glob catfile(curdir(), "lib", $pragma_name, "*");
}
my ($tests, @prgs) = setup_multiple_progs(@w_files);