Change 20952 by [EMAIL PROTECTED] on 2003/08/30 15:20:48
Tweak XSLoader.t.
XSLoader is supposed to work even for extensions that
are statically linked. So only check that the extension we
test for is actually available. (This test is not supposed
to be run by miniperl.)
Affected files ...
... //depot/perl/ext/DynaLoader/t/XSLoader.t#3 edit
Differences ...
==== //depot/perl/ext/DynaLoader/t/XSLoader.t#3 (text) ====
Index: perl/ext/DynaLoader/t/XSLoader.t
--- perl/ext/DynaLoader/t/XSLoader.t#2~20945~ Fri Aug 29 22:57:04 2003
+++ perl/ext/DynaLoader/t/XSLoader.t Sat Aug 30 08:20:48 2003
@@ -1,13 +1,8 @@
-#!/usr/bin/perl -w
+#!./perl -w
BEGIN {
- chdir 't';
+ chdir 't' if -d 't';
@INC = '../lib';
- eval 'use Fcntl';
- if ($@ =~ /dynamic loading not available/) {
- print "1..0 # Skip: no dynamic loading\n";
- exit;
- }
require Config; import Config;
if (($Config{'extensions'} !~ /\bSDBM_File\b/) && ($^O ne 'VMS')){
print "1..0 # Skip: no SDBM_File\n";
End of Patch.