summaryrefslogtreecommitdiff
path: root/t/lib/common.pl
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/common.pl')
-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);