summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadar Levison <ladar@users.noreply.github.com>2019-01-24 08:44:31 -0600
committerJay Satiro <raysatiro@yahoo.com>2019-02-04 13:02:29 -0500
commit53400f5a4143a0908989ee0ca59862e02f779c1d (patch)
tree4f363ff76faa9d9467782773e5724bc469b4604b
parent39df4073e5413fcdbb5a38da0c1ce6f1c0ceb484 (diff)
downloadcurl-53400f5a4143a0908989ee0ca59862e02f779c1d.tar.gz
runtests.pl: Fix perl call to include srcdir
- Use explicit include opt for perl calls. Prior to this change some scripts couldn't find their dependencies. At the top, perl is called using with the "-Isrcdir" option, and it works: https://github.com/curl/curl/blob/curl-7_63_0/tests/runtests.pl#L183 But on line 3868, that option is omitted. This caused problems for me, as the symbol-scan.pl script in particular couldn't find its dependencies properly: https://github.com/curl/curl/blob/curl-7_63_0/tests/runtests.pl#L3868 This patch fixes that oversight by making calls to perl sub-shells uniform. Closes https://github.com/curl/curl/pull/3496
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 5b51d3e4f..6c8b903c3 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -3865,7 +3865,7 @@ sub singletest {
if($cmdtype eq "perl") {
# run the command line prepended with "perl"
$cmdargs ="$cmd";
- $CMDLINE = "perl ";
+ $CMDLINE = "$perl ";
$tool=$CMDLINE;
$disablevalgrind=1;
}