util/tests: compile to something sensible in release builds
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 14 Feb 2019 10:30:47 +0000 (10:30 +0000)
committerEric Engestrom <eric@engestrom.ch>
Thu, 14 Feb 2019 12:52:34 +0000 (12:52 +0000)
commitc2b4b46fa9394b15339686d569dff1d39c46d759
tree042be074803dd977cb0f3d03983d7efac84e7717
parentf7c56475d25138234ab0bb28a10df9000de594f9
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 <eric.engestrom@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
12 files changed:
src/util/tests/fast_idiv_by_const/fast_idiv_by_const_test.cpp
src/util/tests/hash_table/clear.c
src/util/tests/hash_table/collision.c
src/util/tests/hash_table/delete_and_lookup.c
src/util/tests/hash_table/delete_management.c
src/util/tests/hash_table/destroy_callback.c
src/util/tests/hash_table/insert_and_lookup.c
src/util/tests/hash_table/insert_many.c
src/util/tests/hash_table/random_entry.c
src/util/tests/hash_table/remove_key.c
src/util/tests/hash_table/remove_null.c
src/util/tests/hash_table/replacement.c