[gspell/wip/valgrind-check] Use AX_VALGRIND_CHECK



commit aa9ed97381537904c9117bb064915a8465f0f897
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Aug 1 14:13:23 2016 +0200

    Use AX_VALGRIND_CHECK
    
    As explained in the GNOME Programming Guidelines:
    https://developer.gnome.org/programming-guidelines/stable/tooling.html.en

 configure.ac          |    5 +++++
 testsuite/Makefile.am |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4e87858..2114209 100644
--- a/configure.ac
+++ b/configure.ac
@@ -150,6 +150,10 @@ VAPIGEN_CHECK
 AX_REQUIRE_DEFINED([AX_CODE_COVERAGE])
 AX_CODE_COVERAGE()
 
+# Valgrind check
+AX_REQUIRE_DEFINED([AX_VALGRIND_CHECK])
+AX_VALGRIND_CHECK
+
 # Check for Mac OS X platform
 AC_MSG_CHECKING([for Mac OS X platform])
 case "$host" in
@@ -225,5 +229,6 @@ Configuration:
        GObject introspection:  ${found_introspection}
        Vala:                   ${enable_vala}
        Code coverage:          ${enable_code_coverage}
+       Valgrind check:         ${enable_valgrind}
        Installed tests:        ${enable_installed_tests}
 "
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 669c026..49347bc 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -1,4 +1,5 @@
 @CODE_COVERAGE_RULES@
+@VALGRIND_CHECK_RULES@
 
 AM_CPPFLAGS =                  \
        -I$(top_srcdir)         \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]