Commit ffd99fba authored by Luca Boccassi's avatar Luca Boccassi Committed by Luca Boccassi

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
parent bd9011fe
...@@ -1021,6 +1021,7 @@ endif ...@@ -1021,6 +1021,7 @@ endif
if ON_GNU if ON_GNU
XFAIL_TESTS += tests/test_ipc_wildcard \ XFAIL_TESTS += tests/test_ipc_wildcard \
tests/test_reqrep_ipc \
tests/test_term_endpoint tests/test_term_endpoint
endif endif
......
...@@ -274,7 +274,7 @@ void test_inproc () ...@@ -274,7 +274,7 @@ void test_inproc ()
TEST_ASSERT_EQUAL_INT (6000, test_blocking (2000, 6000, "inproc://c")); 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 () void test_ipc ()
{ {
...@@ -295,7 +295,7 @@ int main () ...@@ -295,7 +295,7 @@ int main ()
RUN_TEST (test_tcp); RUN_TEST (test_tcp);
RUN_TEST (test_inproc); RUN_TEST (test_inproc);
#ifndef ZMQ_HAVE_WINDOWS #if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
RUN_TEST (test_ipc); RUN_TEST (test_ipc);
#endif #endif
RUN_TEST (test_reset_hwm); RUN_TEST (test_reset_hwm);
......
...@@ -68,7 +68,7 @@ void test_reconnect_ivl_against_pair_socket (const char *my_endpoint_, ...@@ -68,7 +68,7 @@ void test_reconnect_ivl_against_pair_socket (const char *my_endpoint_,
test_context_socket_close (sc); test_context_socket_close (sc);
} }
#ifndef ZMQ_HAVE_WINDOWS #if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
void test_reconnect_ivl_ipc (void) void test_reconnect_ivl_ipc (void)
{ {
const char *ipc_endpoint = "ipc:///tmp/test_reconnect_ivl"; const char *ipc_endpoint = "ipc:///tmp/test_reconnect_ivl";
...@@ -112,7 +112,7 @@ int main (void) ...@@ -112,7 +112,7 @@ int main (void)
setup_test_environment (); setup_test_environment ();
UNITY_BEGIN (); UNITY_BEGIN ();
#ifndef ZMQ_HAVE_WINDOWS #if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
RUN_TEST (test_reconnect_ivl_ipc); RUN_TEST (test_reconnect_ivl_ipc);
#endif #endif
RUN_TEST (test_reconnect_ivl_tcp_ipv4); RUN_TEST (test_reconnect_ivl_tcp_ipv4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment