aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-04 17:53:33 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-04 17:59:11 +0300
commit9474ec08ff8c3e495c8119e11b16305fa84af977 (patch)
tree7012819eb67edb3007c15617734ffaff04fba94f
parent4f1e02a99ed27673decaa1eccb07e7428a5893bc (diff)
downloadlibmicrohttpd-9474ec08ff8c3e495c8119e11b16305fa84af977.tar.gz
libmicrohttpd-9474ec08ff8c3e495c8119e11b16305fa84af977.zip
Added _MHD_HEAVY_TESTS to MHD_config.h
-rw-r--r--configure.ac5
-rw-r--r--src/testzzuf/Makefile.am4
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])
1078AS_VAR_IF([enable_heavy_tests], ["yes"], 1078AS_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
9AM_CPPFLAGS = -I$(top_srcdir)/src/include \ 9AM_CPPFLAGS = -I$(top_srcdir)/src/include \
10 $(LIBCURL_CPPFLAGS) 10 $(LIBCURL_CPPFLAGS)
11
12if HEAVY_TESTS
13AM_CPPFLAGS += -D_MHD_HEAVY_TESTS=1
14endif
15 11
16EXTRA_DIST = README socat.c 12EXTRA_DIST = README socat.c
17 13