Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79737 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-25 03:15:07

Author: jurko
Date: 2012-07-25 03:15:06 EDT (Wed, 25 Jul 2012)
New Revision: 79737

Corrected the internal Boost Build test to avoid incorrectly detected failures when a file to be rebuilt ('bar') gets rebuilt too quickly in one of the test cases (used to fail if the original file and the rebuilt file did not have file modification timestamps with the same second).
Text files modified:
   trunk/tools/build/v2/test/ | 8 +++++++-
   1 files changed, 7 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/test/
--- trunk/tools/build/v2/test/ (original)
+++ trunk/tools/build/v2/test/ 2012-07-25 03:15:06 EDT (Wed, 25 Jul 2012)
@@ -44,8 +44,14 @@
+# The following wait is needed to make the test system correctly recognize the
+# 'bar' file as touched by the next build run, even if it uses 1 second file
+# modification timestamp resolution and the build system does the rebuild fast
+# enough that the original and the touched files have their file modification
+# timestamps within the same second.
-t.expect_touch(["foo", "aux1", "aux2"])
+t.expect_touch(["foo", "bar", "aux1", "aux2"])

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at