??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
#!/usr/bin/perl -w -I .. -I ../..
#
# Wrapper for running the test harnesses
#
use strict;
use Getopt::Long;
use NPTest qw(DetermineTestHarnessDirectory TestsFrom);
my @tstdir;
if ( ! GetOptions( "testdir:s" => \@tstdir ) )
{
print "Usage: ${0} [--testdir=] [ ...]\n";
exit 1;
}
my @tests;
if ( scalar( @ARGV ) )
{
@tests = @ARGV;
}
else
{
my @directory = DetermineTestHarnessDirectory( @tstdir );
if ( @directory == 0 )
{
print STDERR "$0: Unable to determine the test harness directory - ABORTING\n";
exit 2;
}
for my $d ( @directory )
{
push (@tests, TestsFrom( $d, 1 ));
}
}
if ( ! scalar( @tests ) )
{
print STDERR "$0: Unable to determine the test harnesses to run - ABORTING\n";
exit 3;
}
use Test::Harness;
runtests( @tests );