In runenv.t, don't automatically add -I../lib to the test program's arguments.
authorNicholas Clark <nick@ccl4.org>
Mon, 21 Feb 2011 11:29:27 +0000 (11:29 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 21 Feb 2011 11:29:27 +0000 (11:29 +0000)
commit2e13e92e859db8a9984d3791e0bc2d4de60ddd98
tree7dfbf39e956a5262aebc454b94087291b87dc7e0
parent62a1213a862266b141f7120a84c0757eda594f76
In runenv.t, don't automatically add -I../lib to the test program's arguments.

Instead, add -I../lib explicitly to the program's arguments when needed.
This makes the test pass with miniperl, and simplifies the later tests which
inspect the entirety of @INC.

miniperl will have been failing since 5e4c4c91bd52a48d, because it now loads
$INC[0]/buildcustomize.pl if present, resetting @INC, and always providing
-I../lib will cause it to find the buildcustomize.pl script.
t/run/runenv.t