aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp/transport/ipc/ipc_test.c14
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
}