2 if( $ENV{PERL_CORE} ) {
4 @INC = ('../lib', 'lib');
13 # Can't use Test.pm, that's a 5.005 thing.
19 # Utility testing functions.
21 my($test, $name) = @_;
23 $ok .= "not " unless $test;
24 $ok .= "ok $test_num";
25 $ok .= " - $name" if defined $name;
35 require Test::Simple::Catch;
36 my($out, $err) = Test::Simple::Catch::caught();
38 Test::More->import('skip_all');
42 My::Test::ok($$out eq "1..0\n");
43 My::Test::ok($$err eq "");