Tests: added use of MHD_USE_NO_THREAD_SAFETY flag

This commit is contained in:
Evgeny Grin (Karlson2k)
2023-11-23 13:47:00 +03:00
parent b05555f837
commit 67b1cdc29d
34 changed files with 101 additions and 59 deletions
+3 -1
View File
@@ -278,7 +278,9 @@ main (int argc, char *const *argv)
#ifdef EPOLL_SUPPORT
errorCount += testExternalGet (MHD_USE_EPOLL);
#endif
errorCount += testExternalGet (0);
if (MHD_YES == MHD_is_feature_supported (MHD_FEATURE_THREADS))
errorCount += testExternalGet (MHD_NO_FLAG);
errorCount += testExternalGet (MHD_USE_NO_THREAD_SAFETY);
curl_global_cleanup ();
if (errorCount != 0)
fprintf (stderr, "Failed test: %s, error: %u.\n", argv[0], errorCount);