diff options
Diffstat (limited to 'src/testcurl/test_postform.c')
-rw-r--r-- | src/testcurl/test_postform.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcurl/test_postform.c b/src/testcurl/test_postform.c index f94ed1f8..746d6baa 100644 --- a/src/testcurl/test_postform.c +++ b/src/testcurl/test_postform.c | |||
@@ -589,9 +589,12 @@ main (int argc, char *const *argv) | |||
589 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | 589 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; |
590 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 590 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
591 | return 2; | 591 | return 2; |
592 | errorCount += testInternalPost (); | 592 | if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS)) |
593 | errorCount += testMultithreadedPost (); | 593 | { |
594 | errorCount += testMultithreadedPoolPost (); | 594 | errorCount += testInternalPost (); |
595 | errorCount += testMultithreadedPost (); | ||
596 | errorCount += testMultithreadedPoolPost (); | ||
597 | } | ||
595 | errorCount += testExternalPost (); | 598 | errorCount += testExternalPost (); |
596 | if (errorCount != 0) | 599 | if (errorCount != 0) |
597 | fprintf (stderr, "Error (code: %u)\n", errorCount); | 600 | fprintf (stderr, "Error (code: %u)\n", errorCount); |