diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-30 14:49:30 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-30 14:49:30 +0300 |
commit | 63b5181546bf00dd7a5cae05225d5b1c80bbbc75 (patch) | |
tree | e5b73f944b57d6cffeb8850e0671b91ea5118484 | |
parent | 0d61882d80d474b49e7f1c3103731310249c1d5f (diff) | |
download | libmicrohttpd-63b5181546bf00dd7a5cae05225d5b1c80bbbc75.tar.gz libmicrohttpd-63b5181546bf00dd7a5cae05225d5b1c80bbbc75.zip |
configure: added summary message about fuzzing tests
-rw-r--r-- | configure.ac | 43 | ||||
-rw-r--r-- | src/Makefile.am | 13 |
2 files changed, 45 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 2fbb59dd..484090cb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2662,10 +2662,44 @@ AC_MSG_RESULT([[$enable_postprocessor]]) | |||
2662 | 2662 | ||
2663 | 2663 | ||
2664 | # optional: have zzuf, socat? | 2664 | # optional: have zzuf, socat? |
2665 | AC_CHECK_PROG([have_zzuf],[zzuf], [yes], [no]) | 2665 | run_zzuf_tests="no" |
2666 | AC_CHECK_PROG([have_socat],[socat], [yes], [no]) | 2666 | AS_VAR_IF([enable_heavy_tests],["yes"], |
2667 | AM_CONDITIONAL([HAVE_ZZUF], [test "x$have_zzuf" = "xyes"]) | 2667 | [ |
2668 | AM_CONDITIONAL([HAVE_SOCAT], [test "x$have_socat" = "xyes"]) | 2668 | AS_VAR_IF([enable_curl],["yes"], |
2669 | [ | ||
2670 | AC_CHECK_PROG([have_zzuf],[zzuf],[yes],[no]) | ||
2671 | AS_VAR_IF([have_zzuf],["yes"], | ||
2672 | [ | ||
2673 | AC_CHECK_PROG([have_socat],[socat],[yes],[no]) | ||
2674 | AS_VAR_IF([have_socat],["yes"], | ||
2675 | [ | ||
2676 | run_zzuf_tests="yes" | ||
2677 | run_zzuf_tests_MSG="yes" | ||
2678 | ], | ||
2679 | [ | ||
2680 | run_zzuf_tests="no" | ||
2681 | run_zzuf_tests_MSG="no, socat tool not found" | ||
2682 | ] | ||
2683 | ) | ||
2684 | ], | ||
2685 | [ | ||
2686 | run_zzuf_tests="no" | ||
2687 | run_zzuf_tests_MSG="no, zzuf tool not found" | ||
2688 | ] | ||
2689 | ) | ||
2690 | ], | ||
2691 | [ | ||
2692 | run_zzuf_tests="no" | ||
2693 | run_zzuf_tests_MSG="no, tests with libcurl are not enabled" | ||
2694 | ] | ||
2695 | ) | ||
2696 | ], | ||
2697 | [ | ||
2698 | run_zzuf_tests="no" | ||
2699 | run_zzuf_tests_MSG="no, heavy tests are not enabled" | ||
2700 | ] | ||
2701 | ) | ||
2702 | AM_CONDITIONAL([RUN_ZZUF_TESTS],[test "x$run_zzuf_tests" = "xyes"]) | ||
2669 | 2703 | ||
2670 | have_gnutls=no | 2704 | have_gnutls=no |
2671 | have_gnutls_sni=no | 2705 | have_gnutls_sni=no |
@@ -4285,6 +4319,7 @@ AC_MSG_NOTICE([GNU libmicrohttpd ${PACKAGE_VERSION} Configuration Summary: | |||
4285 | Build static lib: ${enable_static} | 4319 | Build static lib: ${enable_static} |
4286 | Build shared lib: ${enable_shared} | 4320 | Build shared lib: ${enable_shared} |
4287 | Test with libcurl: ${MSG_CURL} | 4321 | Test with libcurl: ${MSG_CURL} |
4322 | Fuzzing tests: ${run_zzuf_tests_MSG=no} | ||
4288 | ]) | 4323 | ]) |
4289 | 4324 | ||
4290 | AS_IF([test "x$enable_https" = "xyes"], | 4325 | AS_IF([test "x$enable_https" = "xyes"], |
diff --git a/src/Makefile.am b/src/Makefile.am index 619c7cc3..85a10510 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -1,14 +1,13 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | |||
3 | SUBDIRS = include microhttpd . | ||
4 | |||
2 | if RUN_LIBCURL_TESTS | 5 | if RUN_LIBCURL_TESTS |
3 | curltests = testcurl | 6 | SUBDIRS += testcurl |
4 | if HAVE_ZZUF | 7 | if RUN_ZZUF_TESTS |
5 | if HAVE_SOCAT | 8 | SUBDIRS += testzzuf |
6 | zzuftests = testzzuf | ||
7 | endif | 9 | endif |
8 | endif | 10 | endif |
9 | endif | ||
10 | |||
11 | SUBDIRS = include microhttpd $(curltests) $(zzuftests) . | ||
12 | 11 | ||
13 | # Finally (last!) also build experimental lib... | 12 | # Finally (last!) also build experimental lib... |
14 | if HAVE_EXPERIMENTAL | 13 | if HAVE_EXPERIMENTAL |