diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-04 17:53:33 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-04 17:59:11 +0300 |
commit | 9474ec08ff8c3e495c8119e11b16305fa84af977 (patch) | |
tree | 7012819eb67edb3007c15617734ffaff04fba94f | |
parent | 4f1e02a99ed27673decaa1eccb07e7428a5893bc (diff) | |
download | libmicrohttpd-9474ec08ff8c3e495c8119e11b16305fa84af977.tar.gz libmicrohttpd-9474ec08ff8c3e495c8119e11b16305fa84af977.zip |
Added _MHD_HEAVY_TESTS to MHD_config.h
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | src/testzzuf/Makefile.am | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index ca403875..9ca14b02 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1076,7 +1076,10 @@ AC_ARG_ENABLE([[heavy-tests]], | |||
1076 | [activity is recommended to enable.])], [], | 1076 | [activity is recommended to enable.])], [], |
1077 | [enable_heavy_tests=no]) | 1077 | [enable_heavy_tests=no]) |
1078 | AS_VAR_IF([enable_heavy_tests], ["yes"], | 1078 | AS_VAR_IF([enable_heavy_tests], ["yes"], |
1079 | [HEAVY_TESTS_NOTPARALLEL='.NOTPARALLEL:'], | 1079 | [ |
1080 | HEAVY_TESTS_NOTPARALLEL='.NOTPARALLEL:' | ||
1081 | AC_DEFINE([_MHD_HEAVY_TESTS], [1], [Define to 1 to enable "heavy" test paths.]) | ||
1082 | ], | ||
1080 | [ | 1083 | [ |
1081 | enable_heavy_tests=no | 1084 | enable_heavy_tests=no |
1082 | HEAVY_TESTS_NOTPARALLEL=" " | 1085 | HEAVY_TESTS_NOTPARALLEL=" " |
diff --git a/src/testzzuf/Makefile.am b/src/testzzuf/Makefile.am index b26d0c84..c657f34e 100644 --- a/src/testzzuf/Makefile.am +++ b/src/testzzuf/Makefile.am | |||
@@ -8,10 +8,6 @@ endif | |||
8 | 8 | ||
9 | AM_CPPFLAGS = -I$(top_srcdir)/src/include \ | 9 | AM_CPPFLAGS = -I$(top_srcdir)/src/include \ |
10 | $(LIBCURL_CPPFLAGS) | 10 | $(LIBCURL_CPPFLAGS) |
11 | |||
12 | if HEAVY_TESTS | ||
13 | AM_CPPFLAGS += -D_MHD_HEAVY_TESTS=1 | ||
14 | endif | ||
15 | 11 | ||
16 | EXTRA_DIST = README socat.c | 12 | EXTRA_DIST = README socat.c |
17 | 13 | ||