summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-07 15:03:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-07 15:03:18 +0000
commitafd33fa97643b00d03f1911869f1de5ac8f4c65c (patch)
treef3aba4bf6efd09a320b010dfbd54733f4516cdc1 /t/TEST
parent14c11978e9b52e08a56dce082343fc3fe472c526 (diff)
downloadperl-afd33fa97643b00d03f1911869f1de5ac8f4c65c.tar.gz
If running the harness the dynamic library search path
may need setting. p4raw-id: //depot/perl@12352
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/TEST b/t/TEST
index dec85ccb12..e34e77e797 100755
--- a/t/TEST
+++ b/t/TEST
@@ -317,6 +317,21 @@ SHRDLU
### ./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",