1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

fix: make ctest fail on memcheck errors

This commit is contained in:
Falk Werner 2020-04-05 17:08:33 +02:00
parent 810702c5a7
commit ac855a73c8

View File

@ -1,5 +1,6 @@
if(NOT WITHOUT_TESTS AND NOT WITHOUT_ADAPTER AND NOT WITHOUT_PROVIDER)
set(MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --error-exitcode=1")
include (CTest)
pkg_check_modules(GTEST gtest_main)