Opened 6 years ago

Closed 6 years ago

#12530 closed Bugs (fixed)

No way to find out Boost.Test version without running any tests

Reported by: Igor Akhmetov <igor.akhmetov@…> Owned by: Raffi Enficiaud
Milestone: Boost 1.63.0 Component: test
Version: Boost 1.62.0 Severity: Problem
Keywords: Cc:

Description

As I understand, there's currently no way to find out Boost.Test version without running any tests. --build_info works only if at least one test gets to be run. But for unit test runners to work around bugs like broken --report_sink/--log_sink in Boost 1.62, it's necessary to know Boost version to construct a valid command line.

Change History (5)

comment:1 by Igor Akhmetov <igor.akhmetov@…>, 6 years ago

Component: Nonetest
Owner: set to Gennadiy Rozental

comment:2 by Raffi Enficiaud, 6 years ago

Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: newassigned

comment:3 by Raffi Enficiaud, 6 years ago

Milestone: To Be DeterminedBoost 1.63.0

Added a --version to the command line: the resulting information (to std::cerr) contains the Boost version as well as other information equivalent to --build_info (and more).

comment:4 by Igor Akhmetov <igor.akhmetov@…>, 6 years ago

Thanks!

comment:5 by Raffi Enficiaud, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.