]> git.ipfire.org Git - thirdparty/kmod.git/commit
meson: undefine NDEBUG in the tests
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 Nov 2024 13:08:20 +0000 (13:08 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 12 Nov 2024 00:22:01 +0000 (18:22 -0600)
commita076809c9635fa0f556ad933deb9b4493e1ca74b
tree61552bd692df6a6e09edd399c95126248b771216
parent1ae4c61082be17bfc8455668563a2c9bed857ae0
meson: undefine NDEBUG in the tests

When using -D b_ndebug=true or inheriting CFLAGS="-DNDEBUG" from the
environment, the asserts will be no-op thus the checks in the
LD_PRELOADED libraries will be omitted.

Explicitly undefine the macro, so we don't accidentally shoot ourselves
in the foot.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/238
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/meson.build