Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

list_labels

Lists the labels associated to the test units in the current test module and exits (no test is run).

[Tip] Tip

See this section for more details on labels and logical grouping of test cases.

Acceptable values

Boolean with default value no.

Command line syntax
Environment variable
BOOST_TEST_LIST_LABELS
Example

The previous example from --list_content gives

> ./boost_runtime_list_content --list_labels
Available labels:
  label1
  label2

PrevUpHomeNext