Port tests to windows and add to cmake build.

This commit is contained in:
Richard Newton
2013-08-17 13:43:45 +01:00
parent e16a6af0c7
commit 7f74fc7c99
38 changed files with 171 additions and 108 deletions

View File

@@ -19,7 +19,7 @@
#include <zmq.h>
#include <string.h>
#include <assert.h>
#include "testutil.hpp"
/// Initialize a zeromq message with a given null-terminated string
#define ZMQ_PREPARE_STRING(msg, data, size) \
@@ -31,6 +31,7 @@ int publicationsReceived = 0;
bool isSubscribed = false;
int main(int argc, char** argv) {
setup_test_environment();
void* context = zmq_ctx_new();
void* pubSocket;
void* subSocket;