Modify

Opened 9 months ago

Closed 7 months ago

#12507 closed Bugs (fixed)

Boost.test --report_sink parameter broken

Reported by: albertasva@… Owned by: renficiaud
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 9 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 8 months ago by renficiaud

  • Milestone changed from To Be Determined to Boost 1.63.0
  • Owner changed from rogeeff to renficiaud
  • Severity changed from Problem to Showstopper

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 8 months ago by renficiaud

  • Status changed from new to assigned

comment:4 Changed 8 months ago by renficiaud

Merged to master (rev cd74a43a784bff0d9c4768fa26f5f1f2b1359014)

comment:5 Changed 7 months ago by renficiaud

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain renficiaud.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.