[Top][All Lists]

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

[Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.12.3-4-g

From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.12.3-4-g1be71fc
Date: Fri, 17 Aug 2012 10:49:41 +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 Automake".;a=commitdiff;h=1be71fc819e07c596e4d570844385fcd01f4cef0

The branch, maint has been updated
       via  1be71fc819e07c596e4d570844385fcd01f4cef0 (commit)
      from  2bb6c94e04b100143a596ca31e2f1b60590f934e (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 1be71fc819e07c596e4d570844385fcd01f4cef0
Author: Adam Sampson <address@hidden>
Date:   Thu Aug 16 18:54:41 2012 +0200

    tests: fix a timestamp race in python tests
    Fixes automake bug#12210.
    * t/ Call aclocal and autoconf with the "--force"
    option.  We need this because, on fast machines, it's possible for
    'mypy.m4' and 'aclocal.m4' to end up with the same timestamp as configure,
    so autoconf (without the "--force" options) wouldn't bother to rebuild it,
    and would just rerun the previous AM_PATH_PYTHON test, succeeding rather
    than failing as expected.
    * t/ Likewise.
    Co-authored-by: Stefano Lattarini <address@hidden>
    Copyright-paperwork-exempt: yes
    Signed-off-by: Stefano Lattarini <address@hidden>


Summary of changes:
 t/ |    6 ++++--
 t/        |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/t/ b/t/
index 3c5201f..d7ba436 100755
--- a/t/
+++ b/t/
@@ -45,8 +45,10 @@ cat > mypy.m4 << 'END'
 AM_PATH_PYTHON([0.0], [$PYTHON -c 'print("%u:%u" % (1-1, 2**0))' > py.out])
+# The "--force" option here is truly needed to avoid potential timestamp
+# races.  See automake bug#12210.
+$ACLOCAL --force
+$AUTOCONF --force
 test x"$(cat py.out)" = x0:1
diff --git a/t/ b/t/
index c88a4f9..b0912d3 100755
--- a/t/
+++ b/t/
@@ -58,8 +58,10 @@ rm -rf autom4te*.cache # Will have to re-run aclocal.
 # Hopefully the Python team will never release such a version :-)
 echo 'AM_PATH_PYTHON([9999.9], [])' > mypy.m4
+# The "--force" options (here and below) are truly needed to avoid
+# potential timestamp races.  See automake bug#12210.
+$ACLOCAL --force
+$AUTOCONF --force
 ./configure >stdout 2>stderr && {
   cat stdout
   cat stderr >&2

GNU Automake

reply via email to

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