Modify

#12507 closed Bugs (fixed)

Boost.test --report_sink parameter broken

Reported by: albertasva@… Owned by: Raffi Enficiaud
Milestone: Boost 1.63.0 Component: test
Version: Boost 1.62.0 Severity: Showstopper
Keywords: Cc:

Description

Boost.test 1.62.0 application fails when parameter --report_sink is specified:

E:\test\BoostUnitTest1.exe --report_sink=x.txt
Boost.Test framework internal error: unknown reason

E:\test\BoostUnitTest1.exe --report_sink=stderr
Boost.Test framework internal error: unknown reason

E:\test\BoostUnitTest1.exe --report_sink=stdout
Boost.Test framework internal error: unknown reason

Previously used version 1.55.0 correctly processed --report_sink parameter

Debug and Release builds fails the same way.

Test project genrated using Boost Unit Test Adapter extensin for Visual Studio, but failure occurs on any Boost.test application that I tried.

Platform: Windows 10

Tool: Visual Studio 2015 (Community)

Build options: Boost static libraries and test projects compiled with static C++ runtime libraries (compiler option /MT or /MTd)

Attachments (0)

Change History (5)

comment:1 Changed 14 months ago by anonymous

Boost.test 1.62.0 application also fails when parameter --log_sink is specified:

./BoostUnitTest1 --log_format=XML --log_level=all --log_sink=BoostUnitTest1.xml
Test setup error: Access with invalid type for argument corresponding to parameter log_sink

Note: the code above worked fine in boost version 1.61.

Platforms: Windows 10 & Fedora 24

Tools: mingw 5.3.0 and gcc 6.2.1

However, a workaround for --log_sink is to use --logger:

./BoostUnitTest1 --logger=XML,all,BoostUnitTest1.xml

comment:2 Changed 13 months ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.63.0
Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Severity: ProblemShowstopper

Yes, I am really sorry for this bug. It is already fixed in a branch, but we definitely need more smoke testing on this.

comment:3 Changed 13 months ago by Raffi Enficiaud

Status: newassigned

comment:4 Changed 13 months ago by Raffi Enficiaud

Merged to master (rev cd74a43a784bff0d9c4768fa26f5f1f2b1359014)

comment:5 Changed 12 months ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Raffi Enficiaud.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.