6 our $had_error :shared;
7 END { $? = $had_error||0 }
13 if ($ENV{DEVEL_GLOBALDESTRUCTION_PP_TEST}) {
15 die 'no XS' if $_[1] eq 'Devel/GlobalDestruction/XS.pm';
20 # load it before spawning a thread, that's the whole point
21 require Devel::GlobalDestruction;
25 # just die so we don't need to deal with testcount skew
26 unless ( ($_[0]||'') eq 'arg' ) {
28 die "Argument passing failed!";
31 delete $INC{'t/01_basic.t'};
37 threads->create('do_test', 'arg')->join