2 if( $ENV{PERL_CORE} ) {
11 if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) {
12 plan skip_all => "Won't work with t/TEST";
17 require Test::Harness;
20 # This feature requires a fairly new version of Test::Harness
21 if( $Test::Harness::VERSION < 2.03 ) {
23 diag "Need Test::Harness 2.03 or up. You have $Test::Harness::VERSION.";
24 fail 'Need Test::Harness 2.03 or up';
31 ok(1, 'Testing again');
35 local $SIG{__WARN__} = sub { $warning = join "", @_ };
37 skip 'Just testing skip with no_plan';
38 fail("So very failed");
40 is( $warning, '', 'skip with no "how_many" ok with no_plan' );
45 todo_skip "Just testing todo_skip";
47 fail("Just testing todo");
48 die "todo_skip should prevent this";
51 is( $warning, '', 'skip with no "how_many" ok with no_plan' );