use Test::More qw(no_plan); ok(1); # CRASH!! exit(0); ok(2); #### PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" test.pl #### All tests successful. Files=1, Tests=1 #### use Test::More tests => 2; #### # Looks like you planned 2 tests but only ran 1.