projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
consumer_testpoints.c
diff --git
a/tests/regression/tools/notification/consumer_testpoints.c
b/tests/regression/tools/notification/consumer_testpoints.c
index 0d1edc5f96a54ce0b12bbc483c8e8ac22d16e51e..c4fc0a0572f3d688b6b557118e30b25545a2d3ce 100644
(file)
--- a/
tests/regression/tools/notification/consumer_testpoints.c
+++ b/
tests/regression/tools/notification/consumer_testpoints.c
@@
-14,7
+14,6
@@
#include <lttng/constant.h>
#include <fcntl.h>
#include <dlfcn.h>
#include <lttng/constant.h>
#include <fcntl.h>
#include <dlfcn.h>
-#include <assert.h>
#include <stdio.h>
static char *pause_pipe_path;
#include <stdio.h>
static char *pause_pipe_path;
@@
-67,9
+66,9
@@
int __testpoint_consumerd_thread_data(void)
* when launching the session daemon.
*/
data_consumption_state = dlsym(NULL, "data_consumption_paused");
* when launching the session daemon.
*/
data_consumption_state = dlsym(NULL, "data_consumption_paused");
-
assert
(data_consumption_state);
+
LTTNG_ASSERT
(data_consumption_state);
lttng_consumer_get_type = dlsym(NULL, "lttng_consumer_get_type");
lttng_consumer_get_type = dlsym(NULL, "lttng_consumer_get_type");
-
assert
(lttng_consumer_get_type);
+
LTTNG_ASSERT
(lttng_consumer_get_type);
switch (lttng_consumer_get_type()) {
case LTTNG_CONSUMER_KERNEL:
switch (lttng_consumer_get_type()) {
case LTTNG_CONSUMER_KERNEL:
This page took
0.023375 seconds
and
4
git commands to generate.