]> code.delx.au - pulseaudio/blobdiff - src/tests/thread-mainloop-test.c
tests: More useful output of make check
[pulseaudio] / src / tests / thread-mainloop-test.c
index e3160f301a6a46a69d31190bdf852f507697caef..599f1959bdf34b9e0b17ee0aa9d5a9ed50e4aabd 100644 (file)
@@ -29,9 +29,9 @@
 #include <pulse/timeval.h>
 #include <pulse/util.h>
 #include <pulse/thread-mainloop.h>
-#include <pulse/gccmacro.h>
 
 #include <pulsecore/macro.h>
+#include <pulsecore/core-rtclock.h>
 
 static void tcb(pa_mainloop_api *a, pa_time_event *e, const struct timeval *tv, void *userdata) {
     pa_assert_se(pa_threaded_mainloop_in_thread(userdata));
@@ -67,8 +67,6 @@ int main(int argc, char *argv[]) {
     fprintf(stderr, "waiting 5s (sleep)\n");
     pa_msleep(5000);
 
-    fprintf(stderr, "shutting down\n");
-
     pa_threaded_mainloop_stop(m);
 
     pa_threaded_mainloop_free(m);