automake-patches
[Top][All Lists]
Advanced

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

[FYI] {master} tests: remove useless sleep from tests on remake rules


From: Stefano Lattarini
Subject: [FYI] {master} tests: remove useless sleep from tests on remake rules
Date: Wed, 7 Mar 2012 09:40:53 +0100

The sleeps were there to make generated autotools files strictly
newer than their sources; however, this is not necessary, since
POSIX mandates that make considers files with the same timestamp
of their dependencies to be up-to-date.

* tests/remake9a.test: Remove useless $sleep.
* tests/remake9b.test: Likewise.
* tests/remake9c.test: Likewise.
* tests/remake9d.test: Likewise.
* tests/remake10a.test: Likewise.
* tests/remake10b.test: Likewise.
* tests/remake10c.test: Likewise.
---
 tests/remake10a.test |    1 -
 tests/remake10b.test |    1 -
 tests/remake10c.test |    1 -
 tests/remake9a.test  |    1 -
 tests/remake9b.test  |    1 -
 tests/remake9c.test  |    1 -
 tests/remake9d.test  |    1 -
 7 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/tests/remake10a.test b/tests/remake10a.test
index 6696536..358554f 100755
--- a/tests/remake10a.test
+++ b/tests/remake10a.test
@@ -48,7 +48,6 @@ END
 
 echo 'm4_define([my_fingerprint], [BadBadBad])' > foo.m4
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
diff --git a/tests/remake10b.test b/tests/remake10b.test
index f16ec95..9eeeb9d 100755
--- a/tests/remake10b.test
+++ b/tests/remake10b.test
@@ -47,7 +47,6 @@ END
 
 echo 'FINGERPRINT = BadBadBad' > foo.am
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
diff --git a/tests/remake10c.test b/tests/remake10c.test
index d0f0d13..dfb43f4 100755
--- a/tests/remake10c.test
+++ b/tests/remake10c.test
@@ -50,7 +50,6 @@ END
 mkdir m4
 echo 'AC_DEFUN([my_fingerprint], [BadBadBad])' > m4/foo.m4
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL -I m4
 $AUTOCONF
 $AUTOMAKE
diff --git a/tests/remake9a.test b/tests/remake9a.test
index 6346ca9..7ee3075 100755
--- a/tests/remake9a.test
+++ b/tests/remake9a.test
@@ -57,7 +57,6 @@ END
 
 echo cat > tweak-configure-in # It is a no-op by default.
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
diff --git a/tests/remake9b.test b/tests/remake9b.test
index dbcf9ac..cab606e 100755
--- a/tests/remake9b.test
+++ b/tests/remake9b.test
@@ -59,7 +59,6 @@ END
 
 echo cat > tweak-makefile-am # It is a no-op by default.
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
diff --git a/tests/remake9c.test b/tests/remake9c.test
index ba2a6f7..efbec30 100755
--- a/tests/remake9c.test
+++ b/tests/remake9c.test
@@ -62,7 +62,6 @@ echo "AC_DEFUN([my_fingerprint], [BadBadBad])" > acinclude.m4
 
 echo : > tweak-acinclude-m4 # It is a no-op by default.
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
diff --git a/tests/remake9d.test b/tests/remake9d.test
index 6da2949..dddb083 100755
--- a/tests/remake9d.test
+++ b/tests/remake9d.test
@@ -59,7 +59,6 @@ END
 
 echo cat > tweak-aclocal-m4 # It is a no-op by default.
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 # Cheatingly mark aclocal.m4 as non auto-generated.
 sed '/^ *#.*generated automatically/d' aclocal.m4 > t
-- 
1.7.9




reply via email to

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