From 39f718ddb1d1ba5d31ee2a1c964bf9d619ae0265 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 5 Nov 2024 12:52:44 -0800 Subject: IPC test - note which ones skipped. --- src/sp/transport/ipc/ipc_test.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Cody Piersall // // 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 } -- cgit v1.2.3-70-g09d2