8 BEGIN { $BINDIR = $FindBin::Bin; }
10 my @dirs = scalar(@ARGV) > 0 ? @ARGV : ($BINDIR);
15 push (@tests,$File::Find::name) if -f && m/.*\.t$/;
18 find(\&wanted, @dirs);
22 print STDERR "found ",scalar(@tests)," tests\n";
24 my $harness = TAP::Harness->new( { verbosity => 1,
25 lib => [ $BINDIR.'/..'] });
27 $harness->runtests(@tests);