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
688213db
Unverified
Commit
688213db
authored
Oct 07, 2019
by
Luca Boccassi
Committed by
GitHub
Oct 07, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3706 from somdoron/master
WIP: problem: appveyor is failing
parents
efb9c569
cad10d95
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
.gitignore
.gitignore
+5
-0
appveyor.yml
appveyor.yml
+1
-1
test_xpub_nodrop.cpp
tests/test_xpub_nodrop.cpp
+8
-1
No files found.
.gitignore
View file @
688213db
...
...
@@ -154,6 +154,8 @@ test_mock_pub_sub
test_proxy_hwm
test_ws_transport
test_wss_transport
test_socks
test_xpub_manual_last_value
unittest_ip_resolver
unittest_mtrie
unittest_poller
...
...
@@ -202,3 +204,5 @@ zeromq-*.zip
core
build
test-suite.log
.idea/
cmake-build-debug/
\ No newline at end of file
appveyor.yml
View file @
688213db
...
...
@@ -220,7 +220,7 @@ after_build:
-
cmd
:
cd %LIBZMQ_BUILDDIR%\bin\%Configuration%"
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" copy "%SODIUM_LIBRARY_DIR%\libsodium.dll" .
-
cmd
:
copy "%LIBZMQ_SRCDIR%\include\zmq.h" .
-
cmd
:
copy ..\..\lib\%Configuration%\libzmq*.lib .
-
cmd
:
copy ..\..\lib\%Configuration%\libzmq*.lib .
& exit 0
-
cmd
:
7z a -y -bd -mx=9 libzmq.zip *.exe *.dll *.pdb *.h *.lib
-
ps
:
Push-AppveyorArtifact "libzmq.zip" -Filename "libzmq-${env:ARTIFACT_NAME}-${env:ZMQ_VERSION_MAJOR}_${env:ZMQ_VERSION_MINOR}_${env:ZMQ_VERSION_PATCH}.zip"
...
...
tests/test_xpub_nodrop.cpp
View file @
688213db
...
...
@@ -101,8 +101,15 @@ void test ()
send_count
++
;
TEST_ASSERT_EQUAL_INT
(
EAGAIN
,
errno
);
while
(
zmq_recv
(
sub
,
NULL
,
0
,
ZMQ_DONTWAIT
)
==
0
)
if
(
send_count
>
0
)
{
// Receive first message with blocking
TEST_ASSERT_SUCCESS_ERRNO
(
zmq_recv
(
sub
,
NULL
,
0
,
0
));
recv_count
++
;
while
(
zmq_recv
(
sub
,
NULL
,
0
,
ZMQ_DONTWAIT
)
==
0
)
recv_count
++
;
}
TEST_ASSERT_EQUAL_INT
(
send_count
,
recv_count
);
// Clean up.
...
...
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