6 @INC = qw(: ::lib ::macos:lib);
21 sub ok { print "ok $test\n"; $test++ }
24 my $Is_VMS = $^O eq 'VMS';
25 my $Is_MacOS = $^O eq 'MacOS';
27 my $path = join " ", map { qq["-I$_"] } @INC;
28 $path = '"-I../lib" "-Iperl_root:[lib]"' if $Is_VMS; # gets too long otherwise
29 my $redir = $Is_MacOS ? "" : "2>&1";
30 my $is_thread = $Config{use5005threads} && $Config{use5005threads} eq 'define';
33 print "# use5005threads: test $test skipped\n";
35 $a = `$^X $path "-MO=Showlex" -e "my \@one" $redir`;
36 print "# [$a]\nnot " unless $a =~ /sv_undef.*PVNV.*\@one.*sv_undef.*AV/s;