diff options
author | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2015-01-09 11:31:41 +0100 |
---|---|---|
committer | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2015-01-09 11:31:41 +0100 |
commit | 62e64362a66e0125fa6f42a225505f39e26aa2f3 (patch) | |
tree | 84b2746aff727ecca90359b61c0c5577e888d840 | |
parent | ac54a0facc26e6c9051769791b0ad789fff97dd5 (diff) | |
parent | a9a10da609f2b110710c25b8058ef1e8ac65e083 (diff) | |
download | mpc-git-62e64362a66e0125fa6f42a225505f39e26aa2f3.tar.gz |
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/mpc/mpc
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | m4/valgrind-tests.m4 | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -5,6 +5,10 @@ Recent changes in the trunk: - Rewrite of the testing framework - New mpcbench tool, used with "make bench" +Changes in version 1.0.3: + - Fixed mpc_pow, see + http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html + Changes in version 1.0.2: - Fixed mpc_atan, mpc_atanh for (+-0, +-1), see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57994#c7 diff --git a/m4/valgrind-tests.m4 b/m4/valgrind-tests.m4 index e38236e..46fbd14 100644 --- a/m4/valgrind-tests.m4 +++ b/m4/valgrind-tests.m4 @@ -1,5 +1,5 @@ -# valgrind-tests.m4 serial 2 -dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. +# valgrind-tests.m4 serial 3 +dnl Copyright (C) 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -17,9 +17,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=full" + + 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=full" + VALGRIND="$VALGRIND $OPTS" # Addition AE: enable suppression file through a shell variable AC_MSG_CHECKING([for valgrind suppression file]) if test -n "$VALGRIND_SUPPRESSION"; then |