1 # Can't use Test.pm, that's a 5.005 thing.
4 # This feature requires a fairly new version of Test::Harness
7 if( $Test::Harness::VERSION < 1.20 ) {
16 # Utility testing functions.
18 my($test, $name) = @_;
19 print "not " unless $test;
21 print " - $name" if defined $name;
31 push @INC, 'lib/Test/Simple/';
33 my($out, $err) = Catch::caught();
36 Test::Simple->import('no_plan');
42 My::Test::ok($$out eq <<OUT);
47 My::Test::ok($$err eq <<ERR);
50 # Prevent Test::Simple from exiting with non zero