1 #!/usr/bin/perl -w -I .. -I ../..
3 # Wrapper for running the test harnesses
12 use NPTest
qw(DetermineTestHarnessDirectory TestsFrom);
16 if ( ! GetOptions
( "testdir:s" => \
$tstdir ) )
18 print "Usage: ${0} [--testdir=<directory>] [<test_harness.t> ...]\n";
24 if ( scalar( @ARGV ) )
30 my $directory = DetermineTestHarnessDirectory
( $tstdir );
32 if ( !defined( $directory ) )
34 print STDERR
"$0: Unable to determine the test harness directory - ABORTING\n";
38 @tests = TestsFrom
( $directory, 1 );
41 if ( ! scalar( @tests ) )
43 print STDERR
"$0: Unable to determine the test harnesses to run - ABORTING\n";
49 #$Test::Harness::verbose=1;