summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-10 10:56:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-10 10:56:25 +0000
commit568558b743cc8ac5b79d4b2150447feb84fbe4db (patch)
treebbd4e24122dc97f1f1b528dafd0502b7124d3978
parent790ba596c6d6bdfed3963f81274a142946aca12a (diff)
downloadperl-568558b743cc8ac5b79d4b2150447feb84fbe4db.tar.gz
The test doesn't work that well when -Uusedl.
Some of the tests could be salvaged even then I guess. p4raw-id: //depot/perl@19183
-rw-r--r--lib/ExtUtils/t/Constant.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ExtUtils/t/Constant.t b/lib/ExtUtils/t/Constant.t
index 4e5819d78e..af637673fb 100644
--- a/lib/ExtUtils/t/Constant.t
+++ b/lib/ExtUtils/t/Constant.t
@@ -5,13 +5,17 @@ BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
}
+ use Config;
+ unless ($Config{usedl}) {
+ print "1..0 # no usedl, skipping\n";
+ exit 0;
+ }
}
# use warnings;
use strict;
use ExtUtils::MakeMaker;
use ExtUtils::Constant qw (constant_types C_constant XS_constant autoload);
-use Config;
use File::Spec;
use Cwd;