Change 12352 by jhi@alpha on 2001/10/07 15:03:18
If running the harness the dynamic library search path
may need setting.
Affected files ...
... //depot/perl/t/TEST#54 edit
Differences ...
==== //depot/perl/t/TEST#54 (xtext) ====
Index: perl/t/TEST
--- perl/t/TEST.~1~ Sun Oct 7 09:15:05 2001
+++ perl/t/TEST Sun Oct 7 09:15:05 2001
@@ -317,6 +317,21 @@
### ./perl harness
### in directory ./t.
SHRDLU
+ use Config;
+ if ($Config{ldlibpthname}) {
+ warn <<SHRDLU;
+ ### Since you seem to have a dynamic library search path,
+ ### $Config{ldlibpthname}, you probably should set that
+ ### to point to the build directory before running the harness.
+ ### Depending on your shell style:
+ ### setenv $Config{ldlibpthname} `pwd`; cd t; ./perl harness
+ ### (for csh-style shells) or:
+ ### $Config{ldlibpthname}=`pwd`; export $Config{ldlibpthname}; cd t; ./perl
+harness
+ ### (for traditional Bourne-style shells) or:
+ ### export $Config{ldlibpthname}=`pwd`; cd t; ./perl harness
+ ### (for ksh-style shells, like zsh).
+SHRDLU
+ }
}
($user,$sys,$cuser,$csys) = times;
print sprintf("u=%g s=%g cu=%g cs=%g scripts=%d tests=%d\n",
End of Patch.