From 5d3908cb49f1d84ebc7b8efec7c2b302c84eae5b Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Wed, 27 Jul 2016 22:18:23 -0700 Subject: t/lib/common.pl: Ignore .rej files --- t/lib/common.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1