aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testcurl.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index fbd5cfbd0..db5ca2e6c 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -447,9 +447,10 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
logit "build ares";
chdir "ares";
- if ($targetos ne '') {
+ if ($targetos && !$configurebuild) {
open(F, "make -f Makefile.$targetos 2>&1 |") or die;
- } else {
+ }
+ else {
open(F, "make 2>&1 |") or die;
}
while (<F>) {