Attempt to suppress valgrind wcslen error

This commit is contained in:
John Stiles 2017-02-28 19:31:21 -08:00
parent 6e2e5c7dbe
commit 4b822a41af
2 changed files with 6 additions and 1 deletions

View File

@ -79,7 +79,7 @@ add_test(NAME unittest
if(NOT MSVC)
# Not running SIMD.* unit test cases for Valgrind
add_test(NAME valgrind_unittest
COMMAND valgrind --leak-check=full --error-exitcode=1 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest --gtest_filter=-SIMD.*
COMMAND valgrind --suppressions=${CMAKE_SOURCE_DIR}/test/valgrind.supp --leak-check=full --error-exitcode=1 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest --gtest_filter=-SIMD.*
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")

5
test/valgrind.supp Normal file
View File

@ -0,0 +1,5 @@
{
Suppress wcslen valgrind report
Memcheck:Addr8
fun:__wcslen_sse2
}