autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.68b-13-


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68b-13-g16126bc
Date: Wed, 07 Mar 2012 06:57:34 +0000

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 Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=16126bc4302f2cb1b4bd06ca7d7da31d2f82156a

The branch, master has been updated
       via  16126bc4302f2cb1b4bd06ca7d7da31d2f82156a (commit)
      from  a5edd74e69a2b35441a5fa4e99d7c1942084460d (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 16126bc4302f2cb1b4bd06ca7d7da31d2f82156a
Author: Paul Eggert <address@hidden>
Date:   Tue Mar 6 22:56:39 2012 -0800

    tests: port AT_CHECK_ENV to hosts with flaky grep
    
    * tests/local.at (AT_CHECK_ENV): Don't assume that if one grep
    fails, the other will too.  It could be that 'grep' is flaky,
    and fails somewhat at random.  This would explain the problems
    reported for autoconf-2.68b on FreeBSD and MacOS X, for example:
    <http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00032.html>
    <http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00035.html>
    <http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00036.html>
    <http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00044.html>

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

Summary of changes:
 tests/local.at |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/tests/local.at b/tests/local.at
index cce24f0..eb01cc0 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -297,9 +297,10 @@ test -f state-ls.after \
 # Compare variable space dumps.
 if test -f state-env.before && test -f state-env.after; then
   set +x
+  grep_failed=false
   for act_file in state-env.before state-env.after
   do
-    $EGREP -v '^(m4_join([|],
+    ($EGREP -v '^(m4_join([|],
       [a[cs]_.*],
       [(exec_)?prefix|DEFS|CONFIG_STATUS],
       [CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77],
@@ -323,12 +324,19 @@ if test -f state-env.before && test -f state-env.after; 
then
       [GREP|[EF]GREP|SED],
       address@hidden|.[*#?$].],
       [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \
-     $act_file 2>/dev/null |
+     $act_file ||
+       test $? -eq 1 || echo failed >&2
+    ) 2>stderr-$act_file |
       # There may be variables spread on several lines; remove latter lines.
-      $GREP '^m4_defn([m4_re_word])=' >clean-$act_file
+      $GREP '^m4_defn([m4_re_word])=' >clean-$act_file ||
+        test $? -eq 1 || grep_failed=:
+    if test -s stderr-$act_file; then
+      cat stderr-$act_file >&2
+      grep_failed=:
+    fi
   done
   $at_traceon
-  $at_diff clean-state-env.before clean-state-env.after
+  $grep_failed || $at_diff clean-state-env.before clean-state-env.after
 fi
 } [#]at_check_env])
 


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

[Prev in Thread] Current Thread [Next in Thread]