summaryrefslogtreecommitdiff
path: root/t/lib/dprof.t
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>2000-08-04 01:18:46 +0000
committerbailey <bailey@newman.upenn.edu>2000-08-04 01:18:46 +0000
commit4b19af017623bfa3bb72bb164598a517f586e0d3 (patch)
treeba3232ffa110ce6bfc48de096d48b00ae6788077 /t/lib/dprof.t
parent674d6c381cbfa67bc93fd195278b889049c14bba (diff)
downloadperl-4b19af017623bfa3bb72bb164598a517f586e0d3.tar.gz
YA resync with mainstem, including VMS patches from others
p4raw-id: //depot/vmsperl@6514
Diffstat (limited to 't/lib/dprof.t')
-rwxr-xr-xt/lib/dprof.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/lib/dprof.t b/t/lib/dprof.t
index 4d6f7823c3..fc5bd050cb 100755
--- a/t/lib/dprof.t
+++ b/t/lib/dprof.t
@@ -3,6 +3,11 @@
BEGIN {
chdir( 't' ) if -d 't';
unshift @INC, '../lib';
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bDevel\/DProf\b/){
+ print "1..0 # Skip: Devel::DProf was not built\n";
+ exit 0;
+ }
}
END {
@@ -11,7 +16,6 @@ END {
use Benchmark qw( timediff timestr );
use Getopt::Std 'getopts';
-use Config '%Config';
getopts('vI:p:');
# -v Verbose