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 6696536..358554f 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 f16ec95..9eeeb9d 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 d0f0d13..dfb43f4 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 6346ca9..7ee3075 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 dbcf9ac..cab606e 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 ba2a6f7..efbec30 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 6da2949..dddb083 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