|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79754 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-26 07:39:43
Author: jurko
Date: 2012-07-26 07:39:42 EDT (Thu, 26 Jul 2012)
New Revision: 79754
URL: http://svn.boost.org/trac/boost/changeset/79754
Log:
Internal Boost Build testing system no longer assumes that the current time is equal to the current file modification timestamp.
Text files modified:
trunk/tools/build/v2/test/BoostBuild.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/test/BoostBuild.py
==============================================================================
--- trunk/tools/build/v2/test/BoostBuild.py (original)
+++ trunk/tools/build/v2/test/BoostBuild.py 2012-07-26 07:39:42 EDT (Thu, 26 Jul 2012)
@@ -933,7 +933,8 @@
if original_timestamp is None:
time.sleep(1.1)
return
- wait_check = lambda x : time.time() < original_timestamp + x
+ wait_check = lambda x : (self.__get_current_file_timestamp() <
+ original_timestamp + x)
extra_wait_needed = wait_check(2)
while wait_check(1):
time.sleep(0.1)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk