aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_put_chunked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_put_chunked.c')
-rw-r--r--src/testcurl/test_put_chunked.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcurl/test_put_chunked.c b/src/testcurl/test_put_chunked.c
index 71e10b77..017bff99 100644
--- a/src/testcurl/test_put_chunked.c
+++ b/src/testcurl/test_put_chunked.c
@@ -518,9 +518,12 @@ main (int argc, char *const *argv)
518 518
519 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 519 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
520 return 2; 520 return 2;
521 errorCount += testInternalPut (); 521 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS))
522 errorCount += testMultithreadedPut (); 522 {
523 errorCount += testMultithreadedPoolPut (); 523 errorCount += testInternalPut ();
524 errorCount += testMultithreadedPut ();
525 errorCount += testMultithreadedPoolPut ();
526 }
524 errorCount += testExternalPut (); 527 errorCount += testExternalPut ();
525 if (errorCount != 0) 528 if (errorCount != 0)
526 fprintf (stderr, "Error (code: %u)\n", errorCount); 529 fprintf (stderr, "Error (code: %u)\n", errorCount);