This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gss".

http://git.savannah.gnu.org/cgit/gss.git/commit/?id=915ef07fa565df6bde148bceca33487a946bd8a9

The branch, master has been updated
       via  915ef07fa565df6bde148bceca33487a946bd8a9 (commit)
      from  b161220796d6b9fdc652a8da7eadb9ae03dd8339 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 915ef07fa565df6bde148bceca33487a946bd8a9
Author: Simon Josefsson <[email protected]>
Date:   Fri Nov 25 00:55:22 2011 +0100

    Fix valgrind-tests.m4 patch.

-----------------------------------------------------------------------

Summary of changes:
 gl/m4/valgrind-tests.m4               |    9 ++++++---
 gl/override/m4/valgrind-tests.m4.diff |   20 ++++++++++----------
 2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4
index 1ffa2ed..f1838d1 100644
--- a/gl/m4/valgrind-tests.m4
+++ b/gl/m4/valgrind-tests.m4
@@ -1,4 +1,4 @@
-# valgrind-tests.m4 serial 2
+# valgrind-tests.m4 serial 3
 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -21,9 +21,12 @@ AC_DEFUN([gl_VALGRIND_TESTS],
     AC_CHECK_PROGS(VALGRIND, valgrind)
   fi
 
-  if test -n "$VALGRIND" && $VALGRIND -q true > /dev/null 2>&1; then
+  OPTS="-q --error-exitcode=1 --leak-check=no"
+
+  if test -n "$VALGRIND" \
+     && $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then
     opt_valgrind_tests=yes
-    VALGRIND="$VALGRIND -q --error-exitcode=1 --leak-check=no"
+    VALGRIND="$VALGRIND $OPTS"
   else
     opt_valgrind_tests=no
     VALGRIND=
diff --git a/gl/override/m4/valgrind-tests.m4.diff 
b/gl/override/m4/valgrind-tests.m4.diff
index 7565aaa..f77d993 100644
--- a/gl/override/m4/valgrind-tests.m4.diff
+++ b/gl/override/m4/valgrind-tests.m4.diff
@@ -1,11 +1,11 @@
---- gl/m4/valgrind-tests.m4.orig       2011-11-21 14:26:50.677333900 +0100
-+++ gl/m4/valgrind-tests.m4    2011-11-21 14:27:05.058065430 +0100
-@@ -23,7 +23,7 @@
+--- gl/m4/valgrind-tests.m4.orig       2011-11-25 00:22:13.922991882 +0100
++++ gl/m4/valgrind-tests.m4    2011-11-25 00:22:23.114450252 +0100
+@@ -21,7 +21,7 @@
+     AC_CHECK_PROGS(VALGRIND, valgrind)
+   fi
  
-   if test -n "$VALGRIND" && $VALGRIND -q true > /dev/null 2>&1; then
-     opt_valgrind_tests=yes
--    VALGRIND="$VALGRIND -q --error-exitcode=1 --leak-check=full"
-+    VALGRIND="$VALGRIND -q --error-exitcode=1 --leak-check=no"
-   else
-     opt_valgrind_tests=no
-     VALGRIND=
+-  OPTS="-q --error-exitcode=1 --leak-check=full"
++  OPTS="-q --error-exitcode=1 --leak-check=no"
+ 
+   if test -n "$VALGRIND" \
+      && $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then


hooks/post-receive
-- 
GNU gss

_______________________________________________
Gss-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gss-commit

Reply via email to