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
/
unit
/
test_utils_compat_poll.c
diff --git
a/tests/unit/test_utils_compat_poll.c
b/tests/unit/test_utils_compat_poll.c
index 0cb7b23872908e2b0305db0144a26d75f9159464..2581f57dda1480bb04bc16238049b9f2750c3dd4 100644
(file)
--- a/
tests/unit/test_utils_compat_poll.c
+++ b/
tests/unit/test_utils_compat_poll.c
@@
-9,7
+9,6
@@
*
*/
*
*/
-#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
@@
-280,7
+279,7
@@
static void test_active_set_combinations(unsigned int fd_count)
unsigned int i, all_active_mask = 0;
/* Do you really want to test more than 4,294,967,295 combinations? */
unsigned int i, all_active_mask = 0;
/* Do you really want to test more than 4,294,967,295 combinations? */
-
assert
(fd_count <= 32);
+
LTTNG_ASSERT
(fd_count <= 32);
for (i = 0; i < fd_count; i++) {
all_active_mask |= (1 << i);
for (i = 0; i < fd_count; i++) {
all_active_mask |= (1 << i);
This page took
0.025778 seconds
and
4
git commands to generate.