Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / tests / regression / tools / notification / sessiond_testpoints.c
index c4100998d4d426b4733a638ccf2311d65b0d77d7..21f04cda75df6293b86677d1f25b5d8009f97105 100644 (file)
@@ -15,7 +15,6 @@
 #include <lttng/constant.h>
 #include <fcntl.h>
 #include <dlfcn.h>
-#include <assert.h>
 #include <stdio.h>
 
 static char *pause_pipe_path;
@@ -57,7 +56,7 @@ int __testpoint_sessiond_thread_notification(void)
        }
 
        notifier_notif_consumption_state = dlsym(NULL, "notifier_consumption_paused");
-       assert(notifier_notif_consumption_state);
+       LTTNG_ASSERT(notifier_notif_consumption_state);
 
        ret = asprintf(&pause_pipe_path, "%s", pause_pipe_path_prefix);
        if (ret < 1) {
This page took 0.023064 seconds and 4 git commands to generate.