commit 5b3cd84e62b430c34b5cf2cef20e49b11155a69d
parent adf9e8cec417d60fe7ae65dcff8e1cea961c6586
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 30 Sep 2017 20:26:31 +0300
test_options: really use this test instead of just compiling,
moved to src/microhttpd as it does not depend on libcurl
Diffstat:
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am
@@ -144,7 +144,8 @@ check_PROGRAMS = \
test_str_to_value \
test_str_token \
test_http_reasons \
- test_daemon
+ test_daemon \
+ test_options
if HAVE_POSIX_THREADS
if ENABLE_UPGRADE
@@ -278,3 +279,8 @@ test_str_token_SOURCES = \
test_http_reasons_SOURCES = \
test_http_reasons.c \
reason_phrase.c mhd_str.c mhd_str.h
+
+test_options_SOURCES = \
+ test_options.c
+test_options_LDADD = \
+ $(top_builddir)/src/microhttpd/libmicrohttpd.la
diff --git a/src/testcurl/test_options.c b/src/microhttpd/test_options.c
diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am
@@ -70,9 +70,6 @@ if HAVE_POSTPROCESSOR
test_post_loop11
endif
-noinst_PROGRAMS = \
- test_options
-
if ENABLE_DAUTH
check_PROGRAMS += \
test_digestauth test_digestauth_with_arguments
@@ -99,11 +96,6 @@ test_concurrent_stop_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
$(PTHREAD_LIBS) @LIBCURL@
-test_options_SOURCES = \
- test_options.c
-test_options_LDADD = \
- $(top_builddir)/src/microhttpd/libmicrohttpd.la
-
test_get_SOURCES = \
test_get.c
test_get_LDADD = \