From: Dodji Seketeli Date: Fri, 24 Feb 2017 13:57:52 +0000 (+0100) Subject: Add a "make check-valgrind-helgrind-recursive" target X-Git-Tag: upstream/1.0~128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8327d61b6675d22040fa7a1e1ecacf296286370c;p=platform%2Fupstream%2Flibabigail.git Add a "make check-valgrind-helgrind-recursive" target * tests/Makefile.am (check-valgrind-helgrind-recursive): New target to run the tests recursively under the control of Valgrind's Helgrind tool. * tests/test-valgrind-suppressions.supp: Update this suppression file with suppressions for Helgrind. Signed-off-by: Dodji Seketeli --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 6f395085..796b8f6c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -176,3 +176,6 @@ RECURSIVE_VALGRIND_FLAGS = \ check-valgrind-memcheck-recursive: $(MAKE) check-valgrind-memcheck VALGRIND_FLAGS="${RECURSIVE_VALGRIND_FLAGS}" + +check-valgrind-helgrind-recursive: + $(MAKE) check-valgrind-helgrind VALGRIND_FLAGS="${RECURSIVE_VALGRIND_FLAGS}" diff --git a/tests/test-valgrind-suppressions.supp b/tests/test-valgrind-suppressions.supp index ded61014..75de6d2b 100644 --- a/tests/test-valgrind-suppressions.supp +++ b/tests/test-valgrind-suppressions.supp @@ -40,3 +40,29 @@ ... obj:*bash } + +{ + suppress helgrind race report from elfutils's elf_version function. + Helgrind:Race + fun:elf_version +} + +{ + suppress helgrind race report from elfutils's elf_begin function. + Helgrind:Race + fun:elf_begin +} + +{ + suppress helgrind race report from inserting into an ostringstream from abigail::ir::array_type_def::subrange_type::as_string() const + Helgrind:Race + fun:_ZNSo9_M_insertImEERSoT_ + fun:_ZNK7abigail2ir14array_type_def13subrange_type9as_stringEv +} + +{ + suppress helgrind race report from inserting into an ostringstream from abigail::comparison::corpus_diff::priv::emit_diff_stats + Helgrind:Race + fun:_ZNSo9_M_insertImEERSoT_ + fun:_ZN7abigail10comparison11corpus_diff4priv15emit_diff_statsERKNS1_10diff_statsERSoRKSs +}