diff options
Diffstat (limited to 'src/testcurl/test_get_response_cleanup.c')
-rw-r--r-- | src/testcurl/test_get_response_cleanup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcurl/test_get_response_cleanup.c b/src/testcurl/test_get_response_cleanup.c index d3d45d2f..457c646f 100644 --- a/src/testcurl/test_get_response_cleanup.c +++ b/src/testcurl/test_get_response_cleanup.c | |||
@@ -417,9 +417,12 @@ main (int argc, char *const *argv) | |||
417 | 417 | ||
418 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? | 418 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? |
419 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | 419 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; |
420 | errorCount += testInternalGet (); | 420 | if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS)) |
421 | errorCount += testMultithreadedGet (); | 421 | { |
422 | errorCount += testMultithreadedPoolGet (); | 422 | errorCount += testInternalGet (); |
423 | errorCount += testMultithreadedGet (); | ||
424 | errorCount += testMultithreadedPoolGet (); | ||
425 | } | ||
423 | errorCount += testExternalGet (); | 426 | errorCount += testExternalGet (); |
424 | if (errorCount != 0) | 427 | if (errorCount != 0) |
425 | fprintf (stderr, "Error (code: %u)\n", errorCount); | 428 | fprintf (stderr, "Error (code: %u)\n", errorCount); |