mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Add valgrind suppressions for ARVMv7 ArchlinuxARM
This commit is contained in:
parent
7e2781a734
commit
469a437e2a
@ -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
11
valgrind.suppressions
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user