Opened 8 years ago

#10037 new Patches

process_jam_log can't open output file when using library_test_all.sh

Reported by: Niklas Angare <li51ckf02@…> Owned by: René Rivera
Milestone: To Be Determined Component: Regression Testing USE GITHUB
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

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.

Attachments (1)

process_jam_log.cpp.patch (801 bytes ) - added by Niklas Angare <li51ckf02@…> 8 years ago.

Download all attachments as: .zip

Change History (1)

by Niklas Angare <li51ckf02@…>, 8 years ago

Attachment: process_jam_log.cpp.patch added
Note: See TracTickets for help on using tickets.