mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Add valgrind suppressions for ARMv7
This commit is contained in:
parent
e4980b65b9
commit
d92754cd30
@ -58,7 +58,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 --trace-children=yes --leak-check=full --error-exitcode=1 --suppressions=${CMAKE_CURRENT_SOURCE_DIR}/../valgrind.supp)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
6
valgrind.supp
Normal file
6
valgrind.supp
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
suppress_ld_on_armv7
|
||||
Memcheck:Cond
|
||||
...
|
||||
obj:*/ld-*.so
|
||||
}
|
Loading…
Reference in New Issue
Block a user