diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-05 12:52:44 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-05 12:52:44 -0800 |
| commit | 39f718ddb1d1ba5d31ee2a1c964bf9d619ae0265 (patch) | |
| tree | 1ff4a120ffa012ea009700d0df7d06542678745a /src/sp | |
| parent | 1f9ee60c638fcab58f9dafa0b48930faf72784d7 (diff) | |
| download | nng-39f718ddb1d1ba5d31ee2a1c964bf9d619ae0265.tar.gz nng-39f718ddb1d1ba5d31ee2a1c964bf9d619ae0265.tar.bz2 nng-39f718ddb1d1ba5d31ee2a1c964bf9d619ae0265.zip | |
IPC test - note which ones skipped.
Diffstat (limited to 'src/sp')
| -rw-r--r-- | src/sp/transport/ipc/ipc_test.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/sp/transport/ipc/ipc_test.c b/src/sp/transport/ipc/ipc_test.c index d6c4e3d8..b7515e25 100644 --- a/src/sp/transport/ipc/ipc_test.c +++ b/src/sp/transport/ipc/ipc_test.c @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Cody Piersall <cody.piersall@gmail.com> // // This software is supplied under the terms of the MIT License, a @@ -203,6 +203,8 @@ test_abstract_sockets(void) NUTS_RECV(s2, "ping"); NUTS_CLOSE(s1); NUTS_CLOSE(s2); +#else + NUTS_SKIP("No abstract sockets."); #endif } @@ -250,6 +252,8 @@ test_abstract_auto_bind(void) NUTS_CLOSE(s1); NUTS_CLOSE(s2); +#else + NUTS_SKIP("No abstract sockets."); #endif } @@ -273,6 +277,8 @@ test_abstract_too_long(void) NUTS_FAIL(nng_dial(s1, addr, NULL, NNG_FLAG_NONBLOCK), NNG_EADDRINVAL); NUTS_CLOSE(s1); +#else + NUTS_SKIP("No abstract sockets."); #endif } @@ -325,6 +331,8 @@ test_abstract_null(void) NUTS_CLOSE(s1); NUTS_CLOSE(s2); +#else + NUTS_SKIP("No abstract sockets."); #endif } @@ -374,6 +382,8 @@ test_unix_alias(void) NUTS_CLOSE(s1); NUTS_CLOSE(s2); +#else + NUTS_SKIP("Not POSIX."); #endif } @@ -427,6 +437,8 @@ test_ipc_pipe_peer(void) nng_msg_free(msg); NUTS_CLOSE(s0); NUTS_CLOSE(s1); +#else + NUTS_SKIP("Not POSIX.") #endif // NNG_PLATFORM_POSIX } |
