#12507 closed Bugs (fixed)
Boost.test --report_sink parameter broken
Reported by: | 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)
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Milestone: | To Be Determined → Boost 1.63.0 |
---|---|
Owner: | changed from | to
Severity: | Problem → 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 by , 6 years ago
Status: | new → assigned |
---|
follow-up: 6 comment:4 by , 6 years ago
Merged to master (rev cd74a43a784bff0d9c4768fa26f5f1f2b1359014)
comment:5 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 5 years ago
Replying to Raffi Enficiaud:
Merged to master (rev cd74a43a784bff0d9c4768fa26f5f1f2b1359014)
Boost.test 1.62.0 application also fails when parameter --log_sink is specified:
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: