don't set TEST_F to blank when --runtestopts isn't used, as that will override

the default options set in the Makefile
This commit is contained in:
Daniel Stenberg 2005-03-17 09:44:09 +00:00
parent 67f04d2d5f
commit e8ddf84871
1 changed files with 6 additions and 2 deletions

View File

@ -521,8 +521,12 @@ elsif(!$crosscompile) {
}
if ($configurebuild && !$crosscompile) {
logit "run make TEST_F=\"$runtestopts\" test-full";
open(F, "make TEST_F=\"$runtestopts\" test-full 2>&1 |") or die;
my $o;
if($runtestopts) {
$o = "TEST_F=\"$runtestopts\" ";
}
logit "run make ${o}test-full";
open(F, "make ${o}test-full 2>&1 |") or die;
open(LOG, ">$buildlog") or die;
while (<F>) {
s/$pwd//g;