diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-12-28 20:52:15 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-12-28 20:52:15 -0800 |
| commit | 63e0baf37c8024174aa4bacb12dccc7040de74d8 (patch) | |
| tree | dadbaa4a7f7d026af16674e85b67d6aff3613746 /tests | |
| parent | cbc21ab0a2e11c8be23dfa146adf7bb091c97f71 (diff) | |
| download | nng-63e0baf37c8024174aa4bacb12dccc7040de74d8.tar.gz nng-63e0baf37c8024174aa4bacb12dccc7040de74d8.tar.bz2 nng-63e0baf37c8024174aa4bacb12dccc7040de74d8.zip | |
fixes #172 HTTP and websocket need better conditional inclusion
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 15 |
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 |
