Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2008-07-03 20:26:04


Author: troy
Date: 2008-07-03 20:26:03 EDT (Thu, 03 Jul 2008)
New Revision: 47063
URL: http://svn.boost.org/trac/boost/changeset/47063

Log:
tune up classify: don't warn when failure is expected
Text files modified:
   branches/CMake/release/tools/build/CMake/classify.py.in | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: branches/CMake/release/tools/build/CMake/classify.py.in
==============================================================================
--- branches/CMake/release/tools/build/CMake/classify.py.in (original)
+++ branches/CMake/release/tools/build/CMake/classify.py.in 2008-07-03 20:26:03 EDT (Thu, 03 Jul 2008)
@@ -29,6 +29,14 @@
         step['status'] = 'unexpected_pass'
         return
 
+ #
+ # if it is an expected failure, don't warn just cause of warnings.
+ #
+ if step['returncode'] != 0 and step['expect_fail']:
+ step['status'] = 'pass'
+ return
+
+
     if step['op'] != 'run' and len(step['stderr']) != 0 and not step['stderr'].isspace():
         step['status'] = 'warn'
         return


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