diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-07-27 22:18:23 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-07-28 09:55:25 -0700 |
commit | 5d3908cb49f1d84ebc7b8efec7c2b302c84eae5b (patch) | |
tree | df2ead3f511373e91a9d2d82588a0ebb9e34b778 /t/lib/common.pl | |
parent | 1279d9234c7e7c0c0cc4d980396201696bace825 (diff) | |
download | perl-5d3908cb49f1d84ebc7b8efec7c2b302c84eae5b.tar.gz |
t/lib/common.pl: Ignore .rej files
Diffstat (limited to 't/lib/common.pl')
-rw-r--r-- | t/lib/common.pl | 3 |
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); |