[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: automake: set test delays to am
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: automake: set test delays to am_cv_filesystem_timestamp_resolution. |
Date: |
Fri, 14 Jul 2023 11:52:27 -0400 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=683400c39e8be392eff54515260706c08eb931d2
The following commit(s) were added to refs/heads/master by this push:
new 683400c39 automake: set test delays to
am_cv_filesystem_timestamp_resolution.
683400c39 is described below
commit 683400c39e8be392eff54515260706c08eb931d2
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Fri Jul 14 08:50:51 2023 -0700
automake: set test delays to am_cv_filesystem_timestamp_resolution.
This patch is from https://bugs.gnu.org/60808.
* configure.ac: Set test delays to
am_cv_filesystem_timestamp_resolution, instead of hardwiring
5sec on DJGPP and 2sec elsewhere. This speeds up test runs
significantly, informally as much 30%.
---
configure.ac | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index f78ec5153..23a9f97f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,15 +177,7 @@ result=no
test "x$am_cv_prog_ln" = xln && result=yes
AC_MSG_RESULT([$result])
-# The amount we should wait after modifying files depends on the platform.
-# On Windows '95, '98 and ME, files modifications have 2-seconds
-# granularity and can be up to 3 seconds in the future w.r.t. the
-# system clock. When it is important to ensure one file is older
-# than another we wait at least 5 seconds between creations.
-case $build in
- *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
- *) MODIFICATION_DELAY=2;;
-esac
+MODIFICATION_DELAY=$am_cv_filesystem_timestamp_resolution
AC_SUBST([MODIFICATION_DELAY])
## ------------------------------------------- ##
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: automake: set test delays to am_cv_filesystem_timestamp_resolution.,
Karl Berry <=