Revert "feat: add tests for #842" to fix test failures

This reverts commit 5b502cdbfb.

Related to #860
This commit is contained in:
Alanscut authored and Alan Wang committed 2024-06-19 10:58:01 +08:00
1 parent 324973008c
commit 424ce4ce96
2 files changed
-19

No files matched your search

-1
View File
@@ -62,7 +62,6 @@ if(ENABLE_CJSON_TEST)
option(ENABLE_VALGRIND OFF "Enable the valgrind memory checker for the tests.")
if (ENABLE_VALGRIND)
add_compile_definitions(ENABLE_VALGRIND)
find_program(MEMORYCHECK_COMMAND valgrind)
if ("${MEMORYCHECK_COMMAND}" MATCHES "MEMORYCHECK_COMMAND-NOTFOUND")
message(WARNING "Valgrind couldn't be found.")