Browse Source

Add valgrind suppressions for ARVMv7 ArchlinuxARM

pull/194/head
Max Bruckner 7 years ago
parent
commit
469a437e2a
  1. 2
      tests/CMakeLists.txt
  2. 11
      valgrind.suppressions

2
tests/CMakeLists.txt

@ -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

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