From: Daniel Stenberg Date: Thu, 17 Mar 2005 09:44:09 +0000 (+0000) Subject: don't set TEST_F to blank when --runtestopts isn't used, as that will override X-Git-Tag: upstream/7.37.1~11437 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8ddf848715e306b8e9be879c6874a5a4a878823;p=platform%2Fupstream%2Fcurl.git don't set TEST_F to blank when --runtestopts isn't used, as that will override the default options set in the Makefile --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 4cf20f5..fbd5cfb 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -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 () { s/$pwd//g;