Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
945c79de
Commit
945c79de
authored
May 23, 2018
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: test cases setting ZMQ_MULTICAST_LOOP to false fail on Windows
Solution: disable test cases
parent
57ef8e2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
test_radio_dish.cpp
tests/test_radio_dish.cpp
+6
-2
No files found.
tests/test_radio_dish.cpp
View file @
945c79de
...
...
@@ -259,7 +259,7 @@ static const char *mcast_url (int ipv6_)
if
(
ipv6_
)
{
return
"udp://["
MCAST_IPV6
"]:5555"
;
}
else
{
return
"udp://
["
MCAST_IPV4
"]
:5555"
;
return
"udp://
"
MCAST_IPV4
"
:5555"
;
}
}
...
...
@@ -460,6 +460,10 @@ MAKE_TEST_V4V6 (test_radio_dish_mcast)
static
void
test_radio_dish_no_loop
(
int
ipv6_
)
{
#ifdef _WIN32
TEST_IGNORE_MESSAGE
(
"ZMQ_MULTICAST_LOOP=false does not appear to work on Windows (TODO)"
);
#endif
ignore_if_unavailable
(
ipv6_
);
void
*
radio
=
test_context_socket
(
ZMQ_RADIO
);
...
...
@@ -470,7 +474,7 @@ static void test_radio_dish_no_loop (int ipv6_)
TEST_ASSERT_SUCCESS_ERRNO
(
zmq_setsockopt
(
dish
,
ZMQ_IPV6
,
&
ipv6_
,
sizeof
(
int
)));
// Disable multicast loop
// Disable multicast loop
for radio
int
loop
=
0
;
TEST_ASSERT_SUCCESS_ERRNO
(
zmq_setsockopt
(
radio
,
ZMQ_MULTICAST_LOOP
,
&
loop
,
sizeof
(
int
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment