aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_put.c')
-rw-r--r--src/testcurl/test_put.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcurl/test_put.c b/src/testcurl/test_put.c
index eba7afa0..3df97526 100644
--- a/src/testcurl/test_put.c
+++ b/src/testcurl/test_put.c
@@ -525,9 +525,12 @@ main (int argc, char *const *argv)
525 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; 525 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
526 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 526 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
527 return 2; 527 return 2;
528 errorCount += testInternalPut (); 528 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS))
529 errorCount += testMultithreadedPut (); 529 {
530 errorCount += testMultithreadedPoolPut (); 530 errorCount += testInternalPut ();
531 errorCount += testMultithreadedPut ();
532 errorCount += testMultithreadedPoolPut ();
533 }
531 errorCount += testExternalPut (); 534 errorCount += testExternalPut ();
532 if (errorCount != 0) 535 if (errorCount != 0)
533 fprintf (stderr, "Error (code: %u)\n", errorCount); 536 fprintf (stderr, "Error (code: %u)\n", errorCount);