diff options
Diffstat (limited to 'tests/run-tests.pl')
-rwxr-xr-x | tests/run-tests.pl | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/run-tests.pl b/tests/run-tests.pl deleted file mode 100755 index 3650d557..00000000 --- a/tests/run-tests.pl +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env perl - -use strict; - -use Test::Harness qw(&runtests $verbose); -$verbose = (defined $ENV{'VERBOSE'} ? $ENV{'VERBOSE'} : 0); -my $tests = (defined $ENV{'RUNTESTS'} ? $ENV{'RUNTESTS'} : ''); - -my $srcdir = (defined $ENV{'srcdir'} ? $ENV{'srcdir'} : '.'); - -opendir DIR, $srcdir; -my (@fs, $f); -while ($f = readdir(DIR)) { - if ($f =~ /^(.*)\.t$/) { - next if ($tests ne '' and $tests !~ /(^|\s+)$1(\s+|$)/); - push @fs, $srcdir.'/'.$f; - } -} -closedir DIR; -runtests @fs; |