diff --git a/tests/helpers.cmake b/tests/helpers.cmake index 7c81f2d5e6..3a8c424649 100644 --- a/tests/helpers.cmake +++ b/tests/helpers.cmake @@ -1,5 +1,5 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018-2021, Intel Corporation +# Copyright 2018-2022, Intel Corporation set(DIR ${PARENT_DIR}/${TEST_NAME}) @@ -105,7 +105,7 @@ function(execute_common expect_success output_file name) elseif(${TRACER} STREQUAL memcheck) set(TRACE valgrind --error-exitcode=99 --tool=memcheck --leak-check=full --suppressions=${TEST_ROOT_DIR}/ld.supp --suppressions=${TEST_ROOT_DIR}/memcheck-stdcpp.supp --suppressions=${TEST_ROOT_DIR}/memcheck-libunwind.supp - --suppressions=${TEST_ROOT_DIR}/memcheck-ndctl.supp) + --suppressions=${TEST_ROOT_DIR}/memcheck-ndctl.supp --suppressions=${TEST_ROOT_DIR}/memcheck.supp) set(ENV{LIBPMEMOBJ_CPP_TRACER_MEMCHECK} 1) elseif(${TRACER} STREQUAL helgrind) set(TRACE valgrind --error-exitcode=99 --tool=helgrind --suppressions=${TEST_ROOT_DIR}/helgrind.supp) diff --git a/tests/memcheck.supp b/tests/memcheck.supp new file mode 100644 index 0000000000..12f6ad9207 --- /dev/null +++ b/tests/memcheck.supp @@ -0,0 +1,7 @@ +{ + + Memcheck:Addr32 + fun:__wmemcmp_avx2_movbe + fun:compare + ... +}