aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 921b5925..7f37c589 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -122,7 +122,6 @@ else ()
endif ()
add_nng_test(aio 5)
-add_nng_test(base64 5)
add_nng_test(bus 5)
add_nng_test(files 5)
add_nng_test(idhash 5)
@@ -136,7 +135,6 @@ add_nng_test(pollfd 5)
add_nng_test(pubsub 5)
add_nng_test(reconnect 5)
add_nng_test(resolv 10)
-add_nng_test(sha1 5)
add_nng_test(sock 5)
add_nng_test(survey 5)
add_nng_test(synch 5)
@@ -152,10 +150,19 @@ add_nng_test(pair1 5)
add_nng_test(udp 5)
add_nng_test(zt 60)
add_nng_test(multistress 60)
-add_nng_test(httpclient 30)
-add_nng_test(httpserver 30)
add_nng_test(ws 30)
+if (NNG_SUPP_BASE64)
+ add_nng_test(base64 5)
+endif()
+if (NNG_SUPP_HTTP)
+ add_nng_test(httpclient 30)
+ add_nng_test(httpserver 30)
+endif()
+if (NNG_SUPP_SHA1)
+ add_nng_test(sha1 5)
+endif()
+
# compatbility tests
# We only support these if ALL the legacy protocols are supported. This
# is because we don't want to make modifications to partially enable some