mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: GNU/Hurd does not implement getsockname for ipc
Solution: skip tests that use ipc://* as it's impossible to get the address back for the client
This commit is contained in:
parent
bd9011fe3b
commit
ffd99fbaf5
@ -1021,6 +1021,7 @@ endif
|
||||
|
||||
if ON_GNU
|
||||
XFAIL_TESTS += tests/test_ipc_wildcard \
|
||||
tests/test_reqrep_ipc \
|
||||
tests/test_term_endpoint
|
||||
endif
|
||||
|
||||
|
@ -274,7 +274,7 @@ void test_inproc ()
|
||||
TEST_ASSERT_EQUAL_INT (6000, test_blocking (2000, 6000, "inproc://c"));
|
||||
}
|
||||
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
|
||||
|
||||
void test_ipc ()
|
||||
{
|
||||
@ -295,7 +295,7 @@ int main ()
|
||||
|
||||
RUN_TEST (test_tcp);
|
||||
RUN_TEST (test_inproc);
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
|
||||
RUN_TEST (test_ipc);
|
||||
#endif
|
||||
RUN_TEST (test_reset_hwm);
|
||||
|
@ -68,7 +68,7 @@ void test_reconnect_ivl_against_pair_socket (const char *my_endpoint_,
|
||||
test_context_socket_close (sc);
|
||||
}
|
||||
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
|
||||
void test_reconnect_ivl_ipc (void)
|
||||
{
|
||||
const char *ipc_endpoint = "ipc:///tmp/test_reconnect_ivl";
|
||||
@ -112,7 +112,7 @@ int main (void)
|
||||
setup_test_environment ();
|
||||
|
||||
UNITY_BEGIN ();
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
|
||||
RUN_TEST (test_reconnect_ivl_ipc);
|
||||
#endif
|
||||
RUN_TEST (test_reconnect_ivl_tcp_ipv4);
|
||||
|
Loading…
Reference in New Issue
Block a user