diff options
Diffstat (limited to 'src/testcurl/test_process_headers.c')
-rw-r--r-- | src/testcurl/test_process_headers.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcurl/test_process_headers.c b/src/testcurl/test_process_headers.c index d123c441..f9c7cd03 100644 --- a/src/testcurl/test_process_headers.c +++ b/src/testcurl/test_process_headers.c | |||
@@ -520,9 +520,12 @@ main (int argc, char *const *argv) | |||
520 | 520 | ||
521 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? | 521 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? |
522 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | 522 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; |
523 | errorCount += testInternalGet (); | 523 | if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS)) |
524 | errorCount += testMultithreadedGet (); | 524 | { |
525 | errorCount += testMultithreadedPoolGet (); | 525 | errorCount += testInternalGet (); |
526 | errorCount += testMultithreadedGet (); | ||
527 | errorCount += testMultithreadedPoolGet (); | ||
528 | } | ||
526 | errorCount += testExternalGet (); | 529 | errorCount += testExternalGet (); |
527 | if (errorCount != 0) | 530 | if (errorCount != 0) |
528 | fprintf (stderr, "Error (code: %u)\n", errorCount); | 531 | fprintf (stderr, "Error (code: %u)\n", errorCount); |