diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-02-05 20:47:58 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-02-05 20:47:58 +0000 |
commit | 96010724e3862241ff01a1b62f88499d2adc7827 (patch) | |
tree | 70786848535aacc7ec8f40113c923634f09da486 /src/microhttpd/Makefile.am | |
parent | bc162a8e859d360d77f57df8fdf5a8daf746e72d (diff) | |
download | libmicrohttpd-96010724e3862241ff01a1b62f88499d2adc7827.tar.gz libmicrohttpd-96010724e3862241ff01a1b62f88499d2adc7827.zip |
Added test for checking ability of shutdown() on socket to trigger poll()
Diffstat (limited to 'src/microhttpd/Makefile.am')
-rw-r--r-- | src/microhttpd/Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index 58284d17..67ec3cd8 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -141,6 +141,7 @@ endif | |||
141 | 141 | ||
142 | check_PROGRAMS = \ | 142 | check_PROGRAMS = \ |
143 | test_shutdown_select \ | 143 | test_shutdown_select \ |
144 | test_shutdown_poll \ | ||
144 | test_daemon | 145 | test_daemon |
145 | 146 | ||
146 | if HAVE_POSTPROCESSOR | 147 | if HAVE_POSTPROCESSOR |
@@ -154,7 +155,8 @@ TESTS = $(check_PROGRAMS) | |||
154 | 155 | ||
155 | if !HAVE_LISTEN_SHUTDOWN | 156 | if !HAVE_LISTEN_SHUTDOWN |
156 | XFAIL_TESTS = \ | 157 | XFAIL_TESTS = \ |
157 | test_shutdown_select | 158 | test_shutdown_select \ |
159 | test_shutdown_poll | ||
158 | endif | 160 | endif |
159 | 161 | ||
160 | test_daemon_SOURCES = \ | 162 | test_daemon_SOURCES = \ |
@@ -193,3 +195,12 @@ test_shutdown_select_CFLAGS = \ | |||
193 | test_shutdown_select_LDADD = \ | 195 | test_shutdown_select_LDADD = \ |
194 | $(PTHREAD_LIBS) | 196 | $(PTHREAD_LIBS) |
195 | endif | 197 | endif |
198 | |||
199 | test_shutdown_poll_SOURCES = \ | ||
200 | test_shutdown_select.c | ||
201 | if USE_POSIX_THREADS | ||
202 | test_shutdown_poll_CFLAGS = \ | ||
203 | test_shutdown_select_CFLAGS | ||
204 | test_shutdown_poll_LDADD = \ | ||
205 | test_shutdown_select_LDADD | ||
206 | endif | ||