automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-814-


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-814-gd5142f9
Date: Sat, 07 May 2011 13:14:43 +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".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=d5142f9c881d45e3afbf790b2f9475869fe04b45

The branch, master has been updated
       via  d5142f9c881d45e3afbf790b2f9475869fe04b45 (commit)
       via  c92ac83b1329e8e2c24ff25974993cb4d520c2e3 (commit)
      from  9644ebc6bc45171d97dbbe4477055acbd91a44a0 (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 d5142f9c881d45e3afbf790b2f9475869fe04b45
Merge: 9644ebc c92ac83
Author: Stefano Lattarini <address@hidden>
Date:   Sat May 7 15:10:14 2011 +0200

    Merge branch 'test-extradep-fix'

commit c92ac83b1329e8e2c24ff25974993cb4d520c2e3
Author: Stefano Lattarini <address@hidden>
Date:   Sat May 7 12:58:51 2011 +0200

    tests: fix spurious failure of extradep.test on FreeBSD
    
    * tests/extradep.test: When using `ls -t' to determine whether a
    file has been updated, make sure to use as reference a file whose
    timestamp is expected to be *strictly* older that that of the file
    being checked.  This is required because at least FreeBSD `ls' do
    not sort files with the same timestamp in alphabetical order when
    using the `-t' option.
    * tests/extradep2.test: Likewise.

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

Summary of changes:
 ChangeLog            |   11 +++++++++++
 tests/extradep.test  |    9 ++++++---
 tests/extradep2.test |    9 ++++++---
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a6a0745..402f135 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-05-07  Stefano Lattarini  <address@hidden>
+
+       tests: fix spurious failure of extradep.test on FreeBSD
+       * tests/extradep.test: When using `ls -t' to determine whether a
+       file has been updated, make sure to use as reference a file whose
+       timestamp is expected to be *strictly* older that that of the file
+       being checked.  This is required because at least FreeBSD ls do
+       not sort files with the same timestamp in alphabetical order when
+       using the `-t' option.
+       * tests/extradep2.test: Likewise.
+
 2011-05-04  Stefano Lattarini  <address@hidden>
 
        tests defs: allow requirements for compilers (mostly dummy)
diff --git a/tests/extradep.test b/tests/extradep.test
index f17aeba..623d73a 100755
--- a/tests/extradep.test
+++ b/tests/extradep.test
@@ -44,8 +44,10 @@ EXTRA_bar_DEPENDENCIES = $(deps)
 
 EXTRA_DIST = foodep bardep
 
-bar-is-newer-than-libfoo.a:
-       test `ls -1t bar$(EXEEXT) libfoo.a | sed q` = bar$(EXEEXT)
+.PHONY: bar-has-been-updated
+bar-has-been-updated:
+       stat older bar$(EXEEXT) libfoo.a || : For debugging.
+       test `ls -t bar$(EXEEXT) older | sed q` = bar$(EXEEXT)
 END
 
 cat >libfoo.c <<'END'
@@ -92,10 +94,11 @@ $MAKE && Exit 1
 : >bardep
 
 $MAKE
+: > older
 $sleep
 touch libfoo.a
 $MAKE
-$MAKE bar-is-newer-than-libfoo.a
+$MAKE bar-has-been-updated
 
 $MAKE distcheck
 
diff --git a/tests/extradep2.test b/tests/extradep2.test
index ca8cf5f..9a97de4 100755
--- a/tests/extradep2.test
+++ b/tests/extradep2.test
@@ -40,8 +40,10 @@ EXTRA_bar_DEPENDENCIES = $(deps)
 
 EXTRA_DIST = bardep
 
-bar-is-newer-than-libfoo.la:
-       test `ls -1t bar$(EXEEXT) libfoo.la | sed q` = bar$(EXEEXT)
+.PHONY: bar-has-been-updated
+bar-has-been-updated:
+       stat older bar$(EXEEXT) libfoo.la || : For debugging.
+       test `ls -t bar$(EXEEXT) older | sed q` = bar$(EXEEXT)
 END
 
 cat >libfoo.c <<'END'
@@ -74,10 +76,11 @@ $MAKE && Exit 1
 : >bardep
 
 $MAKE
+: > older
 $sleep
 touch libfoo.la
 $MAKE
-$MAKE bar-is-newer-than-libfoo.la
+$MAKE bar-has-been-updated
 
 $MAKE distcheck
 


hooks/post-receive
-- 
GNU Automake



reply via email to

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