diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:07:40 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:07:40 +0000 |
commit | 2628e9cec79137941c405ec5dcd495a6d17881c2 (patch) | |
tree | 5b0d4c18a6efee296fe7b0c3e66917a201392ed3 /ext/re | |
parent | 9cd8f8571248133e4de95e0188070c0cef2693b6 (diff) | |
download | perl-2628e9cec79137941c405ec5dcd495a6d17881c2.tar.gz |
Skip re tests if re not built.
p4raw-id: //depot/perl@22952
Diffstat (limited to 'ext/re')
-rw-r--r-- | ext/re/t/re.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/re/t/re.t b/ext/re/t/re.t index 1a8f278566..2a1923ea79 100644 --- a/ext/re/t/re.t +++ b/ext/re/t/re.t @@ -3,6 +3,11 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + require Config; + if (($Config::Config{'extensions'} !~ /\bre\b/) ){ + print "1..0 # Skip -- Perl configured without re module\n"; + exit 0; + } } use strict; |