aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@in.tum.de>2013-09-19 06:49:16 +0000
committerMatthias Wachs <wachs@in.tum.de>2013-09-19 06:49:16 +0000
commit89bdb4449fb859c6bd4d1b73f9f0c5992c8f41ad (patch)
treeae73f71db401bf760e2b021c4cf655cf4ba912f8
parent35cbc7f5e912b8a9ec740fac2cb63d772a3844e1 (diff)
downloadlibmicrohttpd-89bdb4449fb859c6bd4d1b73f9f0c5992c8f41ad.tar.gz
libmicrohttpd-89bdb4449fb859c6bd4d1b73f9f0c5992c8f41ad.zip
improved check to disable only tests requiring spdylay
-rw-r--r--src/testspdy/Makefile.am21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/testspdy/Makefile.am b/src/testspdy/Makefile.am
index 4042ef95..cbad3389 100644
--- a/src/testspdy/Makefile.am
+++ b/src/testspdy/Makefile.am
@@ -21,20 +21,19 @@ if !HAVE_W32
21PERF_GET_CONCURRENT=perf_get_concurrent 21PERF_GET_CONCURRENT=perf_get_concurrent
22endif 22endif
23 23
24if HAVE_SPDYLAY 24if HAVE_SPDYLAY
25check_PROGRAMS = \ test_daemon_start_stop \ 25 SPDYLAY_CHECKS = test_new_connection test_request_response test_notls
26endif
27
28check_PROGRAMS = \
29 test_daemon_start_stop \
26 test_daemon_start_stop_many \ 30 test_daemon_start_stop_many \
27 test_struct_namevalue \ 31 test_struct_namevalue \
28 test_new_connection \
29 test_request_response \
30 test_notls \
31 test_request_response_with_callback \ 32 test_request_response_with_callback \
33 $(SPDYLAY_CHECKS)
32 #test_requests_with_assets \ 34 #test_requests_with_assets \
33 test_misc \ 35 test_misc \
34 test_session_timeout 36 test_session_timeout
35else
36check_PROGRAMS =
37endif
38 37
39TESTS = $(check_PROGRAMS) 38TESTS = $(check_PROGRAMS)
40 39
@@ -64,6 +63,7 @@ test_struct_namevalue_SOURCES = \
64 $(SPDY_SOURCES) 63 $(SPDY_SOURCES)
65test_struct_namevalue_LDADD = $(SPDY_LDADD) 64test_struct_namevalue_LDADD = $(SPDY_LDADD)
66 65
66if HAVE_SPDYLAY
67test_new_connection_SOURCES = \ 67test_new_connection_SOURCES = \
68 test_new_connection.c \ 68 test_new_connection.c \
69 $(SPDY_SOURCES) 69 $(SPDY_SOURCES)
@@ -81,6 +81,7 @@ test_notls_SOURCES = \
81 $(SPDY_SOURCES) 81 $(SPDY_SOURCES)
82test_notls_LDADD = $(SPDY_LDADD) \ 82test_notls_LDADD = $(SPDY_LDADD) \
83 -lspdylay 83 -lspdylay
84endif
84 85
85test_request_response_with_callback_SOURCES = \ 86test_request_response_with_callback_SOURCES = \
86 test_request_response_with_callback.c \ 87 test_request_response_with_callback.c \
@@ -102,9 +103,7 @@ test_session_timeout_SOURCES = \
102 $(SPDY_SOURCES) 103 $(SPDY_SOURCES)
103test_session_timeout_LDADD = $(SPDY_LDADD) 104test_session_timeout_LDADD = $(SPDY_LDADD)
104 105
105if HAVE_SPDYLAY
106if HAVE_CURL_BINARY 106if HAVE_CURL_BINARY
107
108check_PROGRAMS += \ 107check_PROGRAMS += \
109 test_proxies 108 test_proxies
110 109
@@ -112,6 +111,4 @@ test_proxies_SOURCES = \
112 test_proxies.c \ 111 test_proxies.c \
113 $(SPDY_SOURCES) 112 $(SPDY_SOURCES)
114test_proxies_LDADD = $(SPDY_LDADD) 113test_proxies_LDADD = $(SPDY_LDADD)
115
116endif
117endif 114endif