From 7cfd1c58ba244ee0185043c3dac0617bd7a7b938 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 2 Apr 2012 11:47:40 +0200 Subject: 0MQ/2.1 wire format compatibility implemented - XS_PROTOCOL option added - libxs ignores when unused flags are set to 1 (0MQ/2.1 bug) - compatibility tests added Signed-off-by: Martin Sustrik --- tests/tests.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/tests.cpp') diff --git a/tests/tests.cpp b/tests/tests.cpp index d4756ab..f5c403a 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -103,6 +103,10 @@ #include "wireformat.cpp" #undef XS_TEST_MAIN +#define XS_TEST_MAIN libzmq21 +#include "libzmq21.cpp" +#undef XS_TEST_MAIN + int main () { int rc; @@ -143,6 +147,8 @@ int main () assert (rc == 0); rc = wireformat (); assert (rc == 0); + rc = libzmq21 (); + assert (rc == 0); fprintf (stderr, "SUCCESS\n"); sleep (1); -- cgit v1.2.3