From: Stefano Lattarini Date: Wed, 7 Mar 2012 07:59:59 +0000 (+0100) Subject: tests: remove useless sleep from tests on remake rules X-Git-Tag: v1.11b~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2141a6b191705f7d4e972e78c341977896fe6fc2;p=thirdparty%2Fautomake.git tests: remove useless sleep from tests on remake rules 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. --- diff --git a/tests/remake10a.test b/tests/remake10a.test index 66965367d..358554f3e 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 f16ec951d..9eeeb9d53 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 d0f0d13e1..dfb43f48e 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 6346ca9f4..7ee307578 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 dbcf9aca5..cab606e4d 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 ba2a6f7ee..efbec30f0 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 6da294974..dddb08343 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