diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-02-21 14:00:30 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-02-21 14:00:30 +0000 |
commit | f977b7bb0e0946aca578868ac597c28bdbc2c2c2 (patch) | |
tree | 8823e73f1ec08817d8946ed64a643391d82ba876 | |
parent | 115e9681b8231e4672c4d1f4ad598dba6f23a54c (diff) | |
download | perl-f977b7bb0e0946aca578868ac597c28bdbc2c2c2.tar.gz |
Skip reg_namedcapture.t when run by miniperl
miniperl has no dynamic loading, so cannot load Tie::Hash::NamedCapture.
-rw-r--r-- | t/re/reg_namedcapture.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/re/reg_namedcapture.t b/t/re/reg_namedcapture.t index e3a837459d..8fd297c882 100644 --- a/t/re/reg_namedcapture.t +++ b/t/re/reg_namedcapture.t @@ -7,6 +7,10 @@ BEGIN { print "1..0 # Skip: Errno.pm not yet available\n"; exit 0; } + unless (defined &DynaLoader::boot_DynaLoader) { + print "1..0 # Skip: no dynamic loading on miniperl, no Tie::Hash::NamedCapture\n"; + exit 0; + } } # WARNING: Do not directly use any modules as part of this test code. |