libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.4.5-2-g3deca86


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.5-2-g3deca86
Date: Tue, 20 Jan 2015 15:27:48 +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 Libtool".

The branch, master has been updated
       via  3deca86bdcc4a2af35308166543fb3ca395419a6 (commit)
      from  8cb6741f5ce38556e9d714e7a38c0b04daba36a4 (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 3deca86bdcc4a2af35308166543fb3ca395419a6
Author: Pavel Raiskup <address@hidden>
Date:   Tue Jan 20 15:25:48 2015 +0000

    tests: fix an ltdl dryrun race condition.
    
    * tests/testsuite.at (LT_AT_ACLOCAL): Inject a 1 second sleep
    after aclocal to ensure subsequently generated autotools files
    will be newer.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

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

Summary of changes:
 NEWS               |    5 +++++
 tests/testsuite.at |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index a148485..c58dd9b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Bug fixes:
+
+  - Fix a race condition in ltdl dryrun test that would cause spurious
+    random failures of that test.
+
 
 * Noteworthy changes in release 2.4.5 (2015-01-19) [stable]
 
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 735cb96..04e41bd 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -123,6 +123,11 @@ AT_DATA([acinclude.m4],
          [m4_define([AC_CONFIG_MACRO_DIRS], m4_defn([AC_CONFIG_MACRO_DIR]))])
 ]])
 LT_AT_CHECK([$ACLOCAL $1$macro_dir], [0], [ignore], [ignore])
+# After the 'aclocal' run sleep 1 second to guarantee that aclocal.m4 is going
+# to have older timestamp than other autotools later-generated files 
(concretely
+# for libtool case, we speak about config.h.in generated autoheader).
+# Autoreconf does the same (after the first aclocal run).
+sleep 1
 AT_XFAIL_IF([test no = "$ACLOCAL"])
 AT_KEYWORDS([automake])
 ])


hooks/post-receive
-- 
GNU Libtool



reply via email to

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