projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115e968
)
Skip reg_namedcapture.t when run by miniperl
author
Nicholas Clark
<nick@ccl4.org>
Mon, 21 Feb 2011 14:00:30 +0000
(14:00 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Mon, 21 Feb 2011 14:00:30 +0000
(14:00 +0000)
miniperl has no dynamic loading, so cannot load Tie::Hash::NamedCapture.
t/re/reg_namedcapture.t
patch
|
blob
|
history
diff --git
a/t/re/reg_namedcapture.t
b/t/re/reg_namedcapture.t
index
e3a8374
..
8fd297c
100644
(file)
--- 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.