summaryrefslogtreecommitdiff
path: root/t/uni
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-02-02 12:49:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-02-02 12:49:13 +0000
commitc58ae2dfcc12e0e0679158e09a9a8c1b3f139a46 (patch)
treeddfb4ff5017677b9197b16280a59c0f85f2f8715 /t/uni
parent913b9302e982a67bfe0784efaf6e7da783d05bca (diff)
downloadperl-c58ae2dfcc12e0e0679158e09a9a8c1b3f139a46.tar.gz
minitest wasn't working. (The $^X /miniperl/ test in
io/crlf.t didn't work in Tru64, $^X was "./perl", used the same 'eval q/use .../' trick everywhere.) p4raw-id: //depot/perl@18622
Diffstat (limited to 't/uni')
-rw-r--r--t/uni/tr_7jis.t5
-rw-r--r--t/uni/tr_eucjp.t5
-rw-r--r--t/uni/tr_sjis.t5
-rw-r--r--t/uni/tr_utf8.t5
4 files changed, 20 insertions, 0 deletions
diff --git a/t/uni/tr_7jis.t b/t/uni/tr_7jis.t
index 360ce1c382..894ff4c87e 100644
--- a/t/uni/tr_7jis.t
+++ b/t/uni/tr_7jis.t
@@ -23,6 +23,11 @@ BEGIN {
print "1..0 # Skip: PerlIO required\n";
exit 0;
}
+ eval 'use Encode';
+ if ($@ =~ /dynamic loading not available/) {
+ print "1..0 # Skip: no dynamic loading, no Encode\n";
+ exit 0;
+ }
$| = 1;
}
diff --git a/t/uni/tr_eucjp.t b/t/uni/tr_eucjp.t
index e13acab0ed..6958f465a8 100644
--- a/t/uni/tr_eucjp.t
+++ b/t/uni/tr_eucjp.t
@@ -22,6 +22,11 @@ BEGIN {
print "1..0 # Skip: PerlIO required\n";
exit 0;
}
+ eval 'use Encode';
+ if ($@ =~ /dynamic loading not available/) {
+ print "1..0 # Skip: no dynamic loading, no Encode\n";
+ exit 0;
+ }
$| = 1;
}
diff --git a/t/uni/tr_sjis.t b/t/uni/tr_sjis.t
index 0f4a72b055..732eb1ab0b 100644
--- a/t/uni/tr_sjis.t
+++ b/t/uni/tr_sjis.t
@@ -22,6 +22,11 @@ BEGIN {
print "1..0 # Skip: PerlIO required\n";
exit 0;
}
+ eval 'use Encode';
+ if ($@ =~ /dynamic loading not available/) {
+ print "1..0 # Skip: no dynamic loading, no Encode\n";
+ exit 0;
+ }
$| = 1;
}
diff --git a/t/uni/tr_utf8.t b/t/uni/tr_utf8.t
index 12f3516fc2..e623909549 100644
--- a/t/uni/tr_utf8.t
+++ b/t/uni/tr_utf8.t
@@ -23,6 +23,11 @@ BEGIN {
print "1..0 # Skip: PerlIO required\n";
exit 0;
}
+ eval 'use Encode';
+ if ($@ =~ /dynamic loading not available/) {
+ print "1..0 # Skip: no dynamic loading, no Encode\n";
+ exit 0;
+ }
$| = 1;
}