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.61a-378


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-378-gf2ebc5b
Date: Tue, 04 Mar 2008 23:34:04 +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=f2ebc5bc444fe2b029ed12c8f491da16e1c5e24c

The branch, master has been updated
       via  f2ebc5bc444fe2b029ed12c8f491da16e1c5e24c (commit)
      from  ac17e815dcbd086e67069fbbf1de74cdaa012bc4 (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 f2ebc5bc444fe2b029ed12c8f491da16e1c5e24c
Author: Eric Blake <address@hidden>
Date:   Tue Mar 4 16:29:23 2008 -0700

    Make AT_CHECK act like a simple command.
    
    * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
    * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog               |    6 ++++++
 lib/autotest/general.m4 |    4 ++--
 tests/torture.at        |    7 ++-----
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d11c6db..cf144bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-04  Eric Blake  <address@hidden>
+
+       Make AT_CHECK act like a simple command.
+       * lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
+       * tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
+
 2008-03-04  Ralf Wildenhues  <address@hidden>
 
        On MinGW, substitution of CR and 0xFF fails.
diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
index e8ca1dd..98cceae 100644
--- a/lib/autotest/general.m4
+++ b/lib/autotest/general.m4
@@ -1717,7 +1717,7 @@ m4_define([AT_DIFF_STDOUT()],
 #  ( $at_traceon; $1 ) >at-stdout 2>at-stder1
 #
 m4_define([_AT_CHECK],
-[$at_traceoff
+[{ $at_traceoff
 AS_ECHO(["$at_srcdir/AT_LINE: AS_ESCAPE([$1])"])
 echo AT_LINE >"$at_check_line_file"
 
@@ -1739,5 +1739,5 @@ m4_if([$2], [ignore], [at_func_check_skip],
   [at_func_check_status m4_default([$2], [0])]) $at_status "$at_srcdir/AT_LINE"
 AS_IF($at_failed, [$5], [$6])
 $at_failed && at_func_log_failure AT_capture_files
-$at_traceon
+$at_traceon; }
 ])# _AT_CHECK
diff --git a/tests/torture.at b/tests/torture.at
index 60e26d4..0d7509e 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -215,11 +215,8 @@ AT_CHECK_CONFIGURE([what_to_test=var-$1 --no-create])
 # run by root or on w32).
 touch t
 chmod a-w .
-if mv t t1 >/dev/null 2>&1 ; then
-  :
-else
-  AT_CHECK([./config.status var-$1 </dev/null], [1], [ignore], [ignore])
-fi
+mv t t1 >/dev/null 2>&1 \
+  || AT_CHECK([./config.status var-$1 </dev/null], [1], [ignore], [ignore])
 chmod u+w .
 rm -rf t t1
 ])# AT_CHECK_CONFIG_CREATION_NOWRITE


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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