1 #!/usr/local/bin/perl -w
5 # This script is run Test::Harness on the tests found under the
8 # First we check if we already are within the "t" directory
10 # try to move into test directory
11 chdir "t" or die "Can't chdir: $!";
13 # fix all relative library locations
15 $_ = "../$_" unless m,^([a-z]:)?[/\\],i;
18 # Pick up the library files from the ../blib directory
19 unshift(@INC, "../blib/lib", "../blib/arch");
24 $Test::Harness::verbose = shift
25 if defined $ARGV[0] and $ARGV[0] =~ /^\d+$/ || $ARGV[0] eq "-v";
32 push(@tests, <$_/*.t>);
34 $_ .= ".t" unless /\.t$/;
39 @tests = (<base/*.t>, <html/*.t>, <robot/*.t>, <local/*.t>);
40 push(@tests, <live/*.t>) if -f "live/ENABLED";
41 push(@tests, <net/*.t>) if -f "net/config.pl";