Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-06-08 18:08:04


Author: jurko
Date: 2008-06-08 18:08:04 EDT (Sun, 08 Jun 2008)
New Revision: 46261
URL: http://svn.boost.org/trac/boost/changeset/46261

Log:
Made Boost Build's internal assert.result rule compare its values without ignoring trailing empty strings.
Text files modified:
   trunk/tools/build/v2/util/assert.jam | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/util/assert.jam
==============================================================================
--- trunk/tools/build/v2/util/assert.jam (original)
+++ trunk/tools/build/v2/util/assert.jam 2008-06-08 18:08:04 EDT (Sun, 08 Jun 2008)
@@ -151,7 +151,7 @@
             : $(8) : $(9) ] ;
     }
 
- if $(result) != $(expected)
+ if ! [ exact-equal-test $(result) : $(expected) ]
     {
         errors.error-skip-frames 3 assertion failure: "[" $(rule-name) [
             errors.lol->list $(args) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) :


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