[Boost-bugs] [Boost C++ Libraries] #4401: Boost-build run rule outputs unparseable XML with Boost.Test

Subject: [Boost-bugs] [Boost C++ Libraries] #4401: Boost-build run rule outputs unparseable XML with Boost.Test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-02 22:22:52


#4401: Boost-build run rule outputs unparseable XML with Boost.Test
-----------------------------------+----------------------------------------
 Reporter: afoglia@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: build
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: boost build bjam |
-----------------------------------+----------------------------------------
 I'm trying to use boost-build's run rule to run tests built with
 Boost.Test and then have my continuous integration system parse the
 resulting XML to report on the tests. The problem is the output files
 generated by boost-build are no longer proper XML.

 The problem is boost-build adds an extra line "EXIT STATUS: 0" (or
 whatever the status was). That makes the XML invalid, and XML parsers
 will throw an error.

 The sensible solution is to not append the exit status to the captured
 output, but to put it in another file instead. Perhaps
 <basename>.exitcode or similar.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4401>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC