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_shutdown_stress.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_shutdown_stress.cpp')
-rw-r--r-- | tests/test_shutdown_stress.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp index 65c5a04..a96c7f6 100644 --- a/tests/test_shutdown_stress.cpp +++ b/tests/test_shutdown_stress.cpp @@ -23,6 +23,7 @@ #include <assert.h> #include <pthread.h> #include <stddef.h> +#include <stdio.h> #define THREAD_COUNT 100 @@ -53,6 +54,8 @@ int main (int argc, char *argv []) int rc; pthread_t threads [THREAD_COUNT]; + fprintf (stderr, "test_shutdown_stress running...\n"); + for (j = 0; j != 10; j++) { // Check the shutdown with many parallel I/O threads. |