aboutsummaryrefslogtreecommitdiff
path: root/tests/multistress.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-12-25 09:45:12 -0800
committerGarrett D'Amore <garrett@damore.org>2019-12-25 09:58:05 -0800
commit440ddf86b3b3b6be47943c5b6408d63b091f2c28 (patch)
tree1dc5a7ed1d8da3e6540f5c8b1f7c75df0a718496 /tests/multistress.c
parent1b71d116b8343d0d67bdb8c303cfecc2773fd0aa (diff)
downloadnng-440ddf86b3b3b6be47943c5b6408d63b091f2c28.tar.gz
nng-440ddf86b3b3b6be47943c5b6408d63b091f2c28.tar.bz2
nng-440ddf86b3b3b6be47943c5b6408d63b091f2c28.zip
fixes #1040 Convert rest of the protocols to new CMake infra
Diffstat (limited to 'tests/multistress.c')
-rw-r--r--tests/multistress.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/multistress.c b/tests/multistress.c
index a3b32c3b..9264e6bc 100644
--- a/tests/multistress.c
+++ b/tests/multistress.c
@@ -1,5 +1,5 @@
//
-// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -47,20 +47,14 @@ const char *ipc_template = "ipc:///tmp/nng_multistress_%d";
nng_time end_time;
const char *templates[] = {
-#ifdef NNG_TRANSPORT_TCP
"tcp://127.0.0.1:%d",
-#endif
// It would be nice to test TCPv6, but CI doesn't support it.
// Outside of CI, it does seem to work though.
#ifdef NNG_TEST_TCPV6
"tcp://[::1]:%d",
#endif
-#ifdef NNG_TRANSPORT_INPROC
"inproc://nng_multistress_%d",
-#endif
-#ifdef NNG_TRANSPORT_IPC
"ipc:///tmp/nng_multistress_%d",
-#endif
};
#define NTEMPLATES (sizeof(templates) / sizeof(templates[0]))