]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: remove useless sleep from tests on remake rules
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 7 Mar 2012 07:59:59 +0000 (08:59 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 7 Mar 2012 07:59:59 +0000 (08:59 +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
tests/remake10b.test
tests/remake10c.test
tests/remake9a.test
tests/remake9b.test
tests/remake9c.test
tests/remake9d.test

index 66965367dfcbf466fdba85fcd4ec857d326ad168..358554f3e6c4a6244fe14771a5f1a008fb0d8a31 100755 (executable)
@@ -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
index f16ec951d689d857ca9550444ae27792810ec1ac..9eeeb9d5316f681b9259350063f0a2b096c4dcbe 100755 (executable)
@@ -47,7 +47,6 @@ END
 
 echo 'FINGERPRINT = BadBadBad' > foo.am
 
-$sleep # So that generated autotools files will be newer than prerequisites.
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
index d0f0d13e1f5a7a153dec60deed294065ae42b13d..dfb43f48e9b4c91e5a988915aa22a6376a434eea 100755 (executable)
@@ -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
index 6346ca9f4c6058296449994020414fe4c1d5ac88..7ee3075784cf1bcb1c9757727c6cb23bb5745bef 100755 (executable)
@@ -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
index dbcf9aca51b4c906a0d202c09d6c51ee06a94a4f..cab606e4d35ea4ac7740be7ed6f362f08532cb41 100755 (executable)
@@ -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
index ba2a6f7eeea4b6c79b627610030eaf80db6a9d62..efbec30f03fe41ee6981cf6deb28ce6bb6ed9c4a 100755 (executable)
@@ -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
index 6da294974409fe46e9f60f0576e79dd93c27ecc7..dddb08343618095ea9ae776db4fd562bb684ed18 100755 (executable)
@@ -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