diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-09 20:21:54 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-10 16:32:06 -0600 |
commit | 6f2c1863821c0277fd072cf8fa994188fb14bb6d (patch) | |
tree | 450f1c45e1c420943cd0326723f10a85b03d4b8f /libcr | |
parent | 661dfbc4535894e5ee1464144977cb42fdf106cd (diff) |
Have valgrind detect memory leaks, not just errors
Diffstat (limited to 'libcr')
-rw-r--r-- | libcr/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcr/CMakeLists.txt b/libcr/CMakeLists.txt index 80a4ece..2e66020 100644 --- a/libcr/CMakeLists.txt +++ b/libcr/CMakeLists.txt @@ -30,7 +30,7 @@ function(add_libcr_matrix_test n defs) if ("CONFIG_COROUTINE_VALGRIND=1" IN_LIST defs) add_test( NAME "libcr/test_matrix${n}" - COMMAND valgrind --error-exitcode=2 "./test_matrix${n}" + COMMAND "${CMAKE_SOURCE_DIR}/build-aux/valgrind" "./test_matrix${n}" ) else() add_test( |