From: Cebtenzzre Date: Mon, 28 Aug 2023 11:36:58 +0000 (-0400) Subject: tests : undefine NDEBUG so the asserts always work (#481) X-Git-Tag: upstream/0.0.1642~1260 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7e1dacb7c570b087df0908a054b43353e495bc7a;p=pkg%2Fggml%2Fsources%2Fggml tests : undefine NDEBUG so the asserts always work (#481) --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b31079b5..a1cedf0f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -147,6 +147,9 @@ if (GGML_OPENBLAS) endif() endif() +# undefine NDEBUG so asserts don't get disabled in tests +add_definitions(-UNDEBUG) + # # test-vec0