Add valgrind suppressions for ARVMv7 ArchlinuxARM

This commit is contained in:
Max Bruckner 2017-07-15 11:59:47 +02:00
parent 7e2781a734
commit 469a437e2a
2 changed files with 12 additions and 1 deletions

View File

@ -66,7 +66,7 @@ if(ENABLE_CJSON_TEST)
message(WARNING "Valgrind couldn't be found.")
unset(MEMORYCHECK_COMMAND)
else()
set(MEMORYCHECK_COMMAND_OPTIONS --trace-children=yes --leak-check=full --error-exitcode=1)
set(MEMORYCHECK_COMMAND_OPTIONS --suppressions=${CMAKE_SOURCE_DIR}/valgrind.suppressions --trace-children=yes --leak-check=full --error-exitcode=1)
endif()
endif()

11
valgrind.suppressions Normal file
View File

@ -0,0 +1,11 @@
{
<dynamic-linker>
Memcheck:Cond
fun:index
fun:expand_dynamic_string_token
}
{
<dynamic-linker>
Memcheck:Cond
fun:expand_dynamic_string_token
}