summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-10-28 08:32:33 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-10-28 19:04:01 -0400
commit94af2fed9a1c7a2e803805ec3f6aabf58f85bdcf (patch)
tree737e9c729de5464c87c5853d4c40fd017bee0f52
parent2515a12cf493baaa211da7524a276dd30695ca29 (diff)
downloadperl-94af2fed9a1c7a2e803805ec3f6aabf58f85bdcf.tar.gz
Unicode::Normalize no-go with miniperl.
Unicode::Normalize comes in via Unicode::UCD, which comes in e.g. via uni/case.pl. Tried using test.pl and its skip_all_if_miniperl() in all cases, but that leads into weird failures in full 'make test'.
-rw-r--r--t/uni/fold.t1
-rw-r--r--t/uni/lower.t4
-rw-r--r--t/uni/title.t4
-rw-r--r--t/uni/upper.t4
4 files changed, 13 insertions, 0 deletions
diff --git a/t/uni/fold.t b/t/uni/fold.t
index 149573a460..1a7e865499 100644
--- a/t/uni/fold.t
+++ b/t/uni/fold.t
@@ -9,6 +9,7 @@ BEGIN {
require './test.pl';
set_up_inc('../lib');
skip_all_without_unicode_tables();
+ skip_all_if_miniperl("miniperl, no Unicode::Normalize");
require Config; import Config;
require './charset_tools.pl';
require './loc_tools.pl'; # Contains find_utf8_ctype_locale()
diff --git a/t/uni/lower.t b/t/uni/lower.t
index 1301b48812..31fd1f7159 100644
--- a/t/uni/lower.t
+++ b/t/uni/lower.t
@@ -1,5 +1,9 @@
BEGIN {
chdir 't' if -d 't';
+ unless (defined &DynaLoader::boot_DynaLoader) {
+ print("1..0 # miniperl: no Unicode::Normalize");
+ exit(0);
+ }
require "uni/case.pl";
}
diff --git a/t/uni/title.t b/t/uni/title.t
index 35c4f77de9..458ca8efd1 100644
--- a/t/uni/title.t
+++ b/t/uni/title.t
@@ -1,5 +1,9 @@
BEGIN {
chdir 't' if -d 't';
+ unless (defined &DynaLoader::boot_DynaLoader) {
+ print("1..0 # miniperl: no Unicode::Normalize");
+ exit(0);
+ }
require "uni/case.pl";
}
diff --git a/t/uni/upper.t b/t/uni/upper.t
index 41b235ce41..532f4bdd7b 100644
--- a/t/uni/upper.t
+++ b/t/uni/upper.t
@@ -1,5 +1,9 @@
BEGIN {
chdir 't' if -d 't';
+ unless (defined &DynaLoader::boot_DynaLoader) {
+ print("1..0 # miniperl: no Unicode::Normalize");
+ exit(0);
+ }
require "uni/case.pl";
}