aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_delete.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-12-07 12:40:32 +0100
committerChristian Grothoff <christian@grothoff.org>2018-12-07 12:40:40 +0100
commit0eefd20ba370509d93fb7b0220e6d1c5739efac5 (patch)
tree9d3d33e14d8862b061b23a41b4c2bc90616fe636 /src/testcurl/test_delete.c
parent22c08b5fd71091e84247f43bd36ce08184736f17 (diff)
downloadlibmicrohttpd-0eefd20ba370509d93fb7b0220e6d1c5739efac5.tar.gz
libmicrohttpd-0eefd20ba370509d93fb7b0220e6d1c5739efac5.zip
add build option to compile MHD without threads
Diffstat (limited to 'src/testcurl/test_delete.c')
-rw-r--r--src/testcurl/test_delete.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcurl/test_delete.c b/src/testcurl/test_delete.c
index 70f0f509..35f7f6a2 100644
--- a/src/testcurl/test_delete.c
+++ b/src/testcurl/test_delete.c
@@ -512,9 +512,12 @@ main (int argc, char *const *argv)
512 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; 512 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
513 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 513 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
514 return 2; 514 return 2;
515 errorCount += testInternalDelete (); 515 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS))
516 errorCount += testMultithreadedDelete (); 516 {
517 errorCount += testMultithreadedPoolDelete (); 517 errorCount += testInternalDelete ();
518 errorCount += testMultithreadedDelete ();
519 errorCount += testMultithreadedPoolDelete ();
520 }
518 errorCount += testExternalDelete (); 521 errorCount += testExternalDelete ();
519 if (errorCount != 0) 522 if (errorCount != 0)
520 fprintf (stderr, "Error (code: %u)\n", errorCount); 523 fprintf (stderr, "Error (code: %u)\n", errorCount);