don't set TEST_F to blank when --runtestopts isn't used, as that will override
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Mar 2005 09:44:09 +0000 (09:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Mar 2005 09:44:09 +0000 (09:44 +0000)
the default options set in the Makefile

tests/testcurl.pl

index 4cf20f5..fbd5cfb 100755 (executable)
@@ -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;