1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-28 04:50:45 +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)