[Boost-bugs] [Boost C++ Libraries] #10037: process_jam_log can't open output file when using library_test_all.sh

Subject: [Boost-bugs] [Boost C++ Libraries] #10037: process_jam_log can't open output file when using library_test_all.sh
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-10 17:01:03


#10037: process_jam_log can't open output file when using library_test_all.sh
-----------------------------------------+--------------------------------
 Reporter: Niklas Angare <li51ckf02@…> | Owner: grafik
     Type: Patches | Status: new
Milestone: To Be Determined | Component: Regression Testing
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
-----------------------------------------+--------------------------------
 When I run tools/regression/src/library_test_all.sh on Boost 1.55, it
 fails to generate proper reports for many libraries. process_jam_log
 outputs messages like this:
 {{{
 *****Warning - can't open output file:
 c:/Arbete\boost\boost_1_55_0\../../bin.v2/libs/atomic/test/native_api.test
 /qcc-arm_4.4.2_0x/debug/link-static/target-os-qnxnto/threading-
 multi\test_log.xml
 }}}

 The "../../" shouldn't be there as it escapes BOOST_ROOT. The problem
 seems to be that paths in bjam.log are relative to sub-directories of
 BOOST_ROOT/libs. The function parse_skipped_msg_aux() appears to handle
 the case where paths are relative to immediate sub-directories of
 BOOST_ROOT, such as BOOST_ROOT/status. The attached patch extends it to
 handle arbitrarily deep sub-directories.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10037>
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:16 UTC