mirror of
https://github.com/curl/curl.git
synced 2026-08-26 06:13:35 +03:00
tests: add and use %PERL variable to refer to the Perl binary
To ensure Perl invocations within tests call the same Perl binary used for running the tests, as specified or auto-detected via `PERL` env (autotools) or `PERL_EXECUTABLE` setting (cmake). Instead of the first `perl` executable found in `PATH`.) Cherry-picked from #14949 Closes #15097
This commit is contained in:
parent
f6cb707b6a
commit
31a29fc6bd
30 changed files with 44 additions and 41 deletions
|
|
@ -62,7 +62,7 @@ HTTP follow redirect from IPv4 to IPv6 with scope
|
|||
http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
|
||||
</command>
|
||||
<precheck>
|
||||
perl -e "print 'Test is not supported on the Windows kernel' if ($^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin');"
|
||||
%PERL -e "print 'Test is not supported on the Windows kernel' if ($^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin');"
|
||||
</precheck>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue