diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-11-01 13:54:28 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-11-01 13:54:28 +0100 |
commit | 7563518929573fc9e729c1dc8bb4aea512fada5a (patch) | |
tree | 3af7f4b54762f3ecd3e3c8661e648efe64fc7eb5 /tests/test_timeo.cpp | |
parent | 7842c7107358324e8c5b9af7272e6dcab8c97931 (diff) |
Tests print their name before running
This makes finding out which test have hung-up easier.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/test_timeo.cpp')
-rw-r--r-- | tests/test_timeo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_timeo.cpp b/tests/test_timeo.cpp index 83d62cc..f17314e 100644 --- a/tests/test_timeo.cpp +++ b/tests/test_timeo.cpp @@ -22,6 +22,7 @@ #include <assert.h> #include <string.h> #include <pthread.h> +#include <stdio.h> #include "../include/zmq.h" #include "../include/zmq_utils.h" @@ -46,6 +47,8 @@ extern "C" int main (int argc, char *argv []) { + fprintf (stderr, "test_timeo...\n"); + void *ctx = zmq_init (1); assert (ctx); |