automake: a millisecond is too fast for subsecond-mtime.
commit22ecc131cd36d0725acf6ef801d963aeada531a3
authorKarl Berry <karl@freefriends.org>
Wed, 17 Jan 2024 17:51:40 +0000 (17 09:51 -0800)
committerKarl Berry <karl@freefriends.org>
Wed, 17 Jan 2024 17:51:40 +0000 (17 09:51 -0800)
tree5ae6d9c60b6e4858d951eda319b5465eed0f9c19
parent420b53da6f7135723bed78575761f35205e7b806
automake: a millisecond is too fast for subsecond-mtime.

This patch is from https://bugs.gnu.org/68325.

* m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): don't try
for a millisecond; make a hundredth of a second the fastest we'll go.

Apparently there are plenty of systems which supposedly support
subsecond-mtimes down to the millisecond and yet randomly
fail parallelized tests. For example:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68119#18
Maybe the tests themselves need fixing. (The ones that run
autotools multiple times in succession.) A work in progress.
m4/sanity.m4