From 568558b743cc8ac5b79d4b2150447feb84fbe4db Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 10 Apr 2003 10:56:25 +0000 Subject: [PATCH] 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 --- lib/ExtUtils/t/Constant.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ExtUtils/t/Constant.t b/lib/ExtUtils/t/Constant.t index 4e5819d..af63767 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; -- 2.7.4