From c2b4b46fa9394b15339686d569dff1d39c46d759 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 14 Feb 2019 10:30:47 +0000 Subject: util/tests: compile to something sensible in release builds assert()-based tests make no sense without asserts, so make sure asserts are compiled in, even if the rest of the code has asserts turned off. Signed-off-by: Eric Engestrom Acked-by: Lionel Landwerlin --- src/util/tests/hash_table/replacement.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util/tests/hash_table/replacement.c') diff --git a/src/util/tests/hash_table/replacement.c b/src/util/tests/hash_table/replacement.c index 58c22aeb812..e74e63453c4 100644 --- a/src/util/tests/hash_table/replacement.c +++ b/src/util/tests/hash_table/replacement.c @@ -24,6 +24,8 @@ * Eric Anholt */ +#undef NDEBUG + #include #include #include -- cgit v1.2.3