|
FYI: s/sleep 1/sleep 2/g: msg#00004sysutils.automake.patches
I'm checking this in, to work around the issue reported by Dave Brondsema on automake@xxxxxxxx Index: ChangeLog =================================================================== RCS file: /cvs/automake/automake/ChangeLog,v retrieving revision 1.1805 diff -u -r1.1805 ChangeLog --- ChangeLog 4 Apr 2002 10:42:24 -0000 1.1805 +++ ChangeLog 7 Apr 2002 21:31:05 -0000 @@ -1,3 +1,9 @@ +2002-04-07 Alexandre Duret-Lutz <duret_g@xxxxxxxx> + + * Makefile.am (maintainer-check): Check for `sleep 1' uses in the + test suite. Suggest `sleep 2' instead. + * tests/confsub.test: Use `sleep 2'. + 2002-04-04 Paul Eggert <eggert@xxxxxxxxxxx> * lib/am/subdirs.am: Index: Makefile.am =================================================================== RCS file: /cvs/automake/automake/Makefile.am,v retrieving revision 1.187 diff -u -r1.187 Makefile.am --- Makefile.am 26 Mar 2002 09:38:45 -0000 1.187 +++ Makefile.am 7 Apr 2002 21:31:05 -0000 @@ -188,6 +188,13 @@ echo 'the above lines.' 1>&2; \ exit 1; \ fi +## Never use `sleep 1' to create files with different timestamps. +## Use `sleep 2' instead. Some filesystems (e.g., Windows') have only +## a 2sec resolution. + @if egrep '\bsleep +1\b' $(srcdir)/tests/*.test; then \ + echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \ + exit 1; \ + fi # Tag before making distribution. Also, don't make a distribution if Index: tests/confsub.test =================================================================== RCS file: /cvs/automake/automake/tests/confsub.test,v retrieving revision 1.17 diff -u -r1.17 confsub.test --- tests/confsub.test 21 Mar 2002 09:11:56 -0000 1.17 +++ tests/confsub.test 7 Apr 2002 21:31:14 -0000 @@ -36,7 +36,7 @@ ./configure || exit 1 fgrep 'Before.' subdir/config.h -sleep 1 +sleep 2 echo 'After.' > subdir/config.hin $MAKE || exit 1 fgrep 'After.' subdir/config.h || exit 1 -- Alexandre Duret-Lutz |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Fail: pr300 (Was: Re: Automake 1.6 Release): 00004, Akim Demaille |
|---|---|
| Next by Date: | FYI: mention libmumble++.a -> libmumble___a_SOURCES in doc.: 00004, Alexandre Duret-Lutz |
| Previous by Thread: | Re: Fail: pr300 (Was: Re: Automake 1.6 Release)i: 00004, Akim Demaille |
| Next by Thread: | FYI: mention libmumble++.a -> libmumble___a_SOURCES in doc.: 00004, Alexandre Duret-Lutz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |