aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-17 09:44:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-17 09:44:09 +0000
commite8ddf848715e306b8e9be879c6874a5a4a878823 (patch)
treec7d705a4da35725ab380bebe5597073721388a38 /tests/testcurl.pl
parent67f04d2d5f85d737c58fe0cc765507f713666ce1 (diff)
don't set TEST_F to blank when --runtestopts isn't used, as that will override
the default options set in the Makefile
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl8
1 files changed, 6 insertions, 2 deletions
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 (<F>) {
s/$pwd//g;