[v2,1/3] configure: disable all tools except memcheck

Message ID 1506470406-650-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • Fix check-valgrind invocation
Related show

Commit Message

Github ODP bot Sept. 27, 2017, midnight
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 194 (lumag:fix-valgrind)
 ** https://github.com/Linaro/odp/pull/194
 ** Patch: https://github.com/Linaro/odp/pull/194.patch
 ** Base sha: f025da7131d921a4207b31bd5af4490da9b0ef24
 ** Merge commit sha: c179cdfd8f68c78f05717f5f3985679e749893bb
 **/
 configure.ac      | 3 +++
 test/Makefile.inc | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/configure.ac b/configure.ac
index f7da75ec4..a246d82db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,9 @@  CC_VERSION_PATCH=$(echo $CC_VERSION | cut -d'.' -f3)
 ##########################################################################
 # Allow valgrind suite to run against the defined tests
 ##########################################################################
+AX_VALGRIND_DFLT([sgcheck], [off])
+AX_VALGRIND_DFLT([helgrind], [off])
+AX_VALGRIND_DFLT([drd], [off])
 AX_VALGRIND_CHECK
 
 ##########################################################################
diff --git a/test/Makefile.inc b/test/Makefile.inc
index a45fcf870..c1503c983 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -21,6 +21,5 @@  AM_CFLAGS = $(CUNIT_CFLAGS)
 AM_LDFLAGS = -L$(LIB) -static
 
 @VALGRIND_CHECK_RULES@
-valgrind_tools = memcheck
 
 TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT}