(except safeops.t, which needs to have the perl sources available,
so it must be skipped when run from the CPAN distribution. However
it's currently skipped under a core build too.)
#!./perl -w
$|=1;
BEGIN {
- if($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
require Config; import Config;
if ($Config{'extensions'} !~ /\bOpcode\b/ && $Config{'osname'} ne 'VMS') {
print "1..0\n";
#!./perl -w
$|=1;
BEGIN {
- if($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
require Config; import Config;
if ($Config{'extensions'} !~ /\bOpcode\b/ && $Config{'osname'} ne 'VMS') {
print "1..0\n";
#!perl -w
BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
require Config; import Config;
if ($Config{'extensions'} !~ /\bOpcode\b/
&& $Config{'extensions'} !~ /\bPOSIX\b/
#!perl
BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
require Config;
import Config;
if ($Config{'extensions'} !~ /\bOpcode\b/) {
}
else {
# this won't work outside of the core, so exit
- print "1..0\n"; exit 0;
+ print "1..0 # skipped: PERL_CORE unset\n"; exit 0;
}
}
use Config;
#!perl
BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
require Config;
import Config;
if ($Config{'extensions'} !~ /\bOpcode\b/) {