Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79831 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-01 07:41:40


Author: jurko
Date: 2012-08-01 07:41:39 EDT (Wed, 01 Aug 2012)
New Revision: 79831
URL: http://svn.boost.org/trac/boost/changeset/79831

Log:
Updated the internal Boost Build testing framework to work correctly with older Boost Jam releases that did not report their minimum supported path modification timestamp resolution and did not support path modification timestamp resolutions finer than 1 second.
Text files modified:
   trunk/tools/build/v2/test/BoostBuild.py | 8 +++++---
   1 files changed, 5 insertions(+), 3 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-08-01 07:41:39 EDT (Wed, 01 Aug 2012)
@@ -851,9 +851,11 @@
             "resolution:\n\\s+([0-9]{2}):([0-9]{2}):([0-9]{2}\\.[0-9]{9}) "
             "seconds$", out, re.MULTILINE)
         if not r:
- raise TestEnvironmentError("Could not find minimum supported file "
- "modification timestamp resolution in Boost Jam version "
- "information output.")
+ # Older Boost Jam versions did not report their minimum supported
+ # file modification timestamp resolution and did not actually
+ # support file modification timestamp resolutions finer than 1
+ # second.
+ return 1
         if r.group(1) != "00" or r.group(2) != "00": # hours, minutes
             raise TestEnvironmentError("Boost Jam with too coarse minimum "
                 "supported file modification timestamp resolution (%s:%s:%s)."


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