From: Jarkko Hietaniemi Date: Thu, 10 Apr 2003 10:56:25 +0000 (+0000) Subject: The test doesn't work that well when -Uusedl. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=568558b743cc8ac5b79d4b2150447feb84fbe4db;p=p5sagit%2Fp5-mst-13.2.git 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 --- 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;