diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 4cf20f549..fbd5cfbd0 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;