This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bisect-runner.pl will now invoke with ./perl -Ilib if it sees a #!./perl line
authorNicholas Clark <nick@ccl4.org>
Fri, 13 Apr 2012 14:00:49 +0000 (16:00 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 28 May 2013 07:19:28 +0000 (09:19 +0200)
commite3caab27000c1f2ee2ca4c8f5765092e63ef2351
treeb865dc3e97598bb7b68880907c7c15e87656ec71
parent67bec9384212c1d341abd37024333ae3aa8a8f6d
bisect-runner.pl will now invoke with ./perl -Ilib if it sees a #!./perl line

If the first argument of the test case given to bisect-runner.pl is a readable
file with a #! line of ./perl or ./miniperl (only), bisect-runner.pl with
prepend ./perl -Ilib or ./miniperl -Ilib to the command sent to system.
This increases flexibility somewhat, and will avoid problems with
inconsistencies between directly running system(...), and running
system('valgrind', ...). The former accepts a #!./perl line, the latter sends
it to /bin/sh.
Porting/bisect-runner.pl