• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/
2 / Copyright (c) 2003 Boost.Test contributors
3 /
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 /]
7
8
9[section:rt_param_reference Runtime parameters reference]
10
11Following sections provide detailed specification for all __UTF__ runtime parameters. Each parameter specification includes:
12
13* The full parameter name.
14* Description of parameter semantic and default value.
15* Acceptable argument values. The default value for the parameter is bold in the acceptable values list.
16* Command line syntax. The format of all command line arguments is: `<prefix><name>[<separator><value>]`.
17  For example: `--param=<value>`.
18  `[]` around separator and value indicate that argument value is optional. For example: `-q[ <value>]`.
19* Corresponding environment variable name.
20
21[note All command line argument formats support parameter name guessing. What this means is that is if command like
22format is like this:
23[pre  --long_parameter_name=<value>]
24you can in fact use any unambiguous prefix of the parameter name to specify the argument. For example:
25[pre  --long_param=123]
26or
27[pre  --long_p=123.]
28If parameter name prefix you chose is ambiguous the framework lets you know which parameters match specified
29prefix. For example, try
30[pre  --log=all]
31]
32
33[h4 Parameter value formats]
34
35The __UTF__ runtime parameters take value of the following types: string, boolean, enumeration,
36unsigned, long. Formats required for values of these types are following:
37
38[h5 String, unsigned, long][#regular_param_value]
39
40Values of these types are expected in the same format they are represented in C++.
41
42[h5 Boolean][#boolean_param_value]
43
44Values of these types are options with yes/no or true/false meaning. True values are represented
45by case insensitive strings: "Y", "YES", "TRUE", "1". False values are represented by case
46insensitive strings: "N", "NO", "FALSE", "0".
47
48[h5 Enumeration][#enum_param_value]
49
50Values of an enumeration type are expected as case sensitive strings representing
51enumeration value names. Each parameter with an enumeration value lists all valid names in a
52parameter`s description.
53
54[/ ###############################################################################################]
55
56[section:auto_dbg `auto_start_dbg`]
57
58Option ['auto_start_dbg] specifies whether Boost.Test should attempt to attach a debugger when a fatal system
59error occurs. At the moment this feature is only available on a few selected platforms: Win32 and *nix. There is a
60default debugger configured for these platforms. You can manually configure a different debugger.
61For more details on how to configure a debugger see the [headerref boost/test/debug.hpp Boost.Test debug API],
62specifically the function [funcref boost::debug::set_debugger].
63
64[h4 Acceptable values]
65
66[link boolean_param_value Boolean] with default value [*no].
67
68[h4 Command line syntax]
69
70* `--auto_debug[=<boolean value>]`
71* `-d [<boolean value>]`
72
73[h4 Environment variable]
74
75  BOOST_TEST_AUTO_START_DBG
76
77[endsect] [/auto_start_dbg]
78
79[/ ###############################################################################################]
80
81[section:build_info `build_info`]
82
83Option ['build_info] instructs the __UTF__ to display the build information before testing begins.
84This information includes:
85
86* platform
87* compiler
88* STL implementation in use
89* boost version
90
91[h4 Acceptable values]
92
93[link boolean_param_value Boolean] with default value [*no].
94
95[h4 Command line syntax]
96
97* `--build_info[=<boolean value>]`
98* `-i [<boolean value>]`
99
100[h4 Environment variable]
101
102  BOOST_TEST_BUILD_INFO
103
104[endsect] [/ build_info]
105
106[/ ###############################################################################################]
107[section:catch_system `catch_system_errors`]
108
109If option ['catch_system_errors] has value "no" the __UTF__ does not attempt to catch asynchronous system failures
110(signals on *NIX platforms or structured exceptions on Windows). This can be used for test programs executed
111within an IDE or to get a coredump for a stack analysis. See
112[link ref_usage_recommendations usage recommendations] pages for more details.
113
114[note If the __UTF__ detects that the current process is being run under a debugger, the `catch_system_errors` is
115 automatically disabled.]
116
117[h4 Acceptable values]
118
119[link boolean_param_value Boolean] with default value [*no].
120
121[note The __UTF__ can be built with flag `BOOST_TEST_DEFAULTS_TO_CORE_DUMP` in which case default changes to [*yes]]
122
123[h4 Command line syntax]
124
125* `--catch_system_errors[=<boolean value>]`
126* `-s [<boolean value>]`
127
128[h4 Environment variable]
129
130  BOOST_TEST_CATCH_SYSTEM_ERRORS
131
132[endsect] [/catch_system_errors]
133
134[/ ###############################################################################################]
135[section:color_output `color_output`]
136
137The __UTF__ is able to produce color output on systems which support it. To disable this behavior, set this option to
138`no`. By default the framework produces color output.
139
140[h4 Acceptable values]
141
142[link boolean_param_value Boolean] with default value [*yes].
143
144[h4 Command line syntax]
145
146* `--color_output[=<boolean value>]`
147* `-x [<boolean value>]`
148
149[h4 Environment variable]
150
151  BOOST_TEST_COLOR_OUTPUT
152
153[endsect] [/color_output]
154
155[/ ###############################################################################################]
156[section:detect_fp_exceptions `detect_fp_exceptions`]
157
158Option ['build_info] enables/disables hardware traps for the floating point exceptions (if supported on your platform).
159
160[h4 Acceptable values]
161
162[link boolean_param_value Boolean] with default value [*no].
163
164[h4 Command line syntax]
165
166* `--detect_fp_exceptions[=<boolean value>]`
167
168[h4 Environment variable]
169
170  BOOST_TEST_DETECT_FP_EXCEPTIONS
171
172[endsect] [/detect_fp_exceptions]
173
174[/ ###############################################################################################]
175[section:detect_memory_leaks `detect_memory_leaks`]
176
177Parameter ['detect_memory_leaks] enables/disables memory leaks detection (if present in your build configuration).
178This parameter has an optional long integer value. The default value is 1, which enables memory leak detection.
179The value 0 disables memory leak detection. Any value N greater than 1 is treated as leak allocation number and tells the
180framework to setup runtime breakpoint at Nth heap allocation. If value is omitted the default value is assumed.
181
182[note The only platform which supports memory leak detection is Microsoft Visual Studio family of compilers in debug builds.]
183
184[h4 Acceptable values]
185
186* 0
187* [*1] (default)
188* [link regular_param_value long integer value] > 1
189
190[h4 Command line syntax]
191
192* `--detect_memory_leaks[=<alloc order number>]`
193
194[h4 Environment variable]
195
196  BOOST_TEST_DETECT_MEMORY_LEAK
197
198[endsect] [/detect_memory_leaks]
199
200[/ ###############################################################################################]
201[section:help `help`]
202
203Parameter ['help] displays help on the framework's parameters. The parameter accepts an optional
204argument value:
205
206* if present, the argument value is interpreted as a parameter name. Name guessing
207  works as well (so for example `--help=rand` displays help on the parameter `random`).
208* if the parameter name is unknown or ambiguous, an error is reported,
209* if the argument value is absent, a summary of all framework's parameter is displayed.
210
211[h4 Acceptable values]
212
213An optional parameter name [link regular_param_value string].
214
215[h4 Command line syntax]
216
217* `--help[=<parameter name>]`
218
219[endsect] [/help]
220
221[/ ###############################################################################################]
222[section:list_content `list_content`]
223
224Lists the name of the [link ref_test_unit test units] contained in the [link ref_test_module test module] and exits (no test is run).
225
226This command line parameter accepts an /optional/ string value indicating the format of the output.
227The framework supports the following two formats:
228
229# HRF (default), standing for /Human Readable Format/,
230# DOT, standing for the [@http://www.graphviz.org/doc/info/lang.html Graphviz graph format]. This format may be automatically parsed or rendered.
231
232[h4 HRF]
233
234For HRF, the [link ref_test_tree test tree] (test suites and test cases) is presented in a tree like form with
235each test unit name on a separate line with horizontal indentation in relation to the parent test suite.
236In addition, test units which are enabled by default have an asterisk `*` next to the test unit name. For example, the following output:
237
238    testsuite1*
239        testcase1*
240        testcase2
241    testsuite2*
242        testcase3*
243
244represents test module consisting of two test suites: `testsuite1` and `testsuite2`, and three test cases: `testcase1`,
245`testcase2`, and `testcase3`. The formatting reflects the test-tree: the first two test cases belong to the first test suite
246and last one belongs to the second. Out of three test cases only two are enabled by default:
247`testcase1` and `testcase3`. `testcase2` is not enabled by default, but can be enabled by using the parameter __param_run_test__.
248
249[h4 DOT]
250
251DOT output generates a graph representing the module's [link ref_test_tree test tree] in a
252[@http://www.graphviz.org/doc/info/lang.html dot format].
253This output includes much more information about the test tree including labels, timeouts, expected failures, and dependencies.
254
255The legend is as follow:
256
257* the master test suite is represented as an ellipse
258* a test unit (suite, case) is in a rounded rectangle
259* test unit declaration location, [link boost_test.tests_organization.tests_grouping labels],
260  [link boost_test.testing_tools.expected_failures expected failures], [link boost_test.testing_tools.timeout timeouts] are appended,
261* a green box indicates that the test unit that is enabled, otherwise its color is yellow,
262* a plain black arrow goes from a test unit to each of its children, following the test tree (the arrow pointing to the child),
263* a dashed red arrow indicates a runtime dependence on test units, the arrow pointing to the parent in the dependency graph.
264
265
266[h4 Acceptable values]
267
268[link enum_param_value Enumeration] names:
269
270* [*HRF] (default)
271* DOT
272
273[h4 Command line syntax]
274
275* `--list_content[=<format>]`
276
277[h4 Environment variable]
278
279  BOOST_TEST_LIST_CONTENT
280
281[h4 Example]
282
283The following /deliberately/ complicated example illustrates the purpose of the `--list_content`
284directive. The SVG generated from the produced Graphviz/dot file can be downloaded
285[@images/boost_runtime_list_content.svg here].
286
287[bt_example boost_runtime_list_content..`--list_content` illustration..run]
288
289[$images/boost_runtime_list_content.png [width 70%]]
290
291
292[endsect] [/list_content]
293
294[/ ###############################################################################################]
295[section:list_labels `list_labels`]
296
297Lists the labels associated to the [link ref_test_unit test units] in the current
298[link ref_test_module test module] and exits (no test is run).
299
300[tip
301See [link boost_test.tests_organization.tests_grouping this section] for more details on labels and logical grouping
302of test cases.
303]
304
305[h4 Acceptable values]
306
307[link boolean_param_value Boolean] with default value [*no].
308
309[h4 Command line syntax]
310
311* `--list_labels[=<boolean value>]`
312
313[h4 Environment variable]
314
315  BOOST_TEST_LIST_LABELS
316
317[h4 Example]
318
319The previous example from [link boost_test.utf_reference.rt_param_reference.list_content `--list_content`] gives
320```
321> ./boost_runtime_list_content --list_labels
322Available labels:
323  label1
324  label2
325```
326
327[endsect] [/list_labels]
328
329[/ ###############################################################################################]
330[section:log_format `log_format`]
331
332Parameter ['log_format] allows to set the __UTF__ log format to one of the formats supplied by the framework.
333To specify custom log format use the [link ref_log_formatter_api custom log formatting API].
334
335The only acceptable values for this parameter are the names of the output formats supplied by the
336framework. By default the framework uses human readable format (HRF) for the testing log. This format
337is similar to a compiler error format. Alternatively you can specify XML or JUNIT as a log format which are
338easier to process by testing automation tools.
339
340[h4 Acceptable values]
341
342[link enum_param_value Enumeration] names:
343
344* [*HRF] (default)
345* XML
346* JUNIT
347
348[h4 Command line syntax]
349
350* `--log_format=<format>`
351* `-f <format>`
352
353[h4 Environment variable]
354
355  BOOST_TEST_LOG_FORMAT
356
357[endsect] [/log_format]
358
359[/ ###############################################################################################]
360[section:log_level `log_level`]
361
362Parameter ['log_level] allows to set the __UTF__ [link ref_log_level_explanations log level]. Log level defines
363the verbosity of the testing log produced by a testing module. The verbosity ranges from a complete log, when all
364assertions (both successful and failing) are reported and all notifications about test units start and finish
365are included, to an empty log, when nothing is reported to a testing log stream.
366
367Log level is set to one of the predefined levels which are organized hierarchically, where each level includes
368all the messages on that level as well as all the messages from levels below. Levels are identified by string
369names, which are listed next.
370
371[h4 Acceptable values]
372
373Following is the list of [link enum_param_value enumeration] log_level names ordered from higher to lower level.
374Thus each level includes messages on that level as well as all the messages on levels defined below.
375
376[table
377  [
378    [Value]
379    [Included messages]
380  ]
381  [
382    [all (default for JUNIT)]
383    [All log messages including the passed assertions notification]
384  ]
385  [
386    [success]
387    [The same as all]
388  ]
389  [
390    [test_suite]
391    [Test units start/finish notifications]
392  ]
393  [
394    [message]
395    [User generated messages (using __BOOST_TEST_MESSAGE__ tool)]
396  ]
397  [
398    [warning]
399    [Messages describing failed assertion on `WARN` level (
400    [link boost_test.utf_reference.testing_tool_ref.assertion_boost_test_universal_macro `BOOST_TEST_WARN`]
401    / `BOOST_WARN_...`
402     tools)]
403  ]
404  [
405    [[*error] (default for HRF and XML)]
406    [Messages describing failed assertion on `CHECK` level (__BOOST_TEST__ / `BOOST_CHECK_...` tools)]
407  ]
408  [
409    [cpp_exception]
410    [Messages reporting uncaught C++ exception]
411  ]
412  [
413    [system_error]
414    [Messages reporting system originated non-fatal errors. For example, timeout or floating point exception.]
415  ]
416  [
417    [fatal_error]
418    [Messages reporting user or system originated fatal errors. For example, memory access violation. Also
419     all the messages describing failed assertion on `REQUIRE` level (__BOOST_TEST_REQUIRE__ / `BOOST_REQUIRE_...` tools)]
420  ]
421  [
422    [nothing]
423    [No messages are reported.]
424  ]
425]
426
427[caution the JUNIT log format does not accept the log level to change: anything specified by `log_level` will be ignored
428 for the JUNIT format.]
429
430[h4 Command line syntax]
431
432* `--log_level=<level>`
433* `-l <level>`
434
435[h4 Environment variable]
436
437  BOOST_TEST_LOG_LEVEL
438
439[endsect] [/log_level]
440
441[/ ###############################################################################################]
442[section:log_sink `log_sink`]
443
444Parameter ['log_sink] allows to set the log sink - location where framework writes the testing log to,
445thus it allows to easily redirect the testing log to file or standard streams. By default testing log
446is directed to the standard output stream.
447
448[h4 Acceptable values]
449
450Case sensitive [link regular_param_value string]:
451
452[table
453  [
454    [Value]
455    [Meaning]
456  ]
457  [
458    [[*`stdout`] (default for HRF and XML)]
459    [Testing log is redirected into standard output stream]
460  ]
461  [
462    [stderr]
463    [Testing log is redirected into standard error stream]
464  ]
465  [
466    [File name (default for JUNIT)]
467    [Testing log is redirected into this file]
468  ]
469]
470
471[note For JUnit and if not specified, the log file is generated after the name of the
472 [link boost_test.tests_organization.test_tree.master_test_suite master test suite].]
473
474[h4 Command line syntax]
475
476* `--log_sink=<stream or file name>`
477* `-k <stream or file name>`
478
479[h4 Environment variable]
480
481  BOOST_TEST_LOG_SINK
482
483[endsect] [/log_sink]
484
485
486[/ ###############################################################################################]
487[section:logger `logger`]
488
489The ['logger] parameter allows to fully specify (log format, level and sink) one or several loggers in one command.
490If this parameter is specified, it has precedence over [link boost_test.utf_reference.rt_param_reference.log_format `log_format`],
491[link boost_test.utf_reference.rt_param_reference.log_level `log_level`] and [link boost_test.utf_reference.rt_param_reference.log_sink `log_sink`].
492
493The parameter is /repeatable/: it may appear several times on the command line. It is possible to indicate a set of loggers using the separator ':',
494which is the only way for repeating a logger description through the environment variable.
495
496The parameter is composed of three fields separated by a coma ',' and indicating respectively the log format, level and sink. The log
497format is mandatory. The log level and sink are both optional: if omitted, the default for the specified format will
498be used. The log level and sink accept the same value as their respective command line switch (see
499[link boost_test.utf_reference.rt_param_reference.log_level `log_level`] and [link boost_test.utf_reference.rt_param_reference.log_sink `log_sink`]
500for more information).
501
502[h4 Acceptable values]
503
504Case sensitive [link regular_param_value string]:
505
506```
507logger_set    ::= (logger ':')* logger
508logger        ::= logger_format (',' log_level? (',' log_sink? )? )?
509logger_format ::= 'HRF' | 'XML' | 'JUNIT'
510log_level     ::= 'all' | 'success' | 'test_suite' | 'message' | 'warning' | 'error' | 'cpp_exception' | 'system_error' | 'fatal_error' | 'nothing'
511log_sink      ::= 'stdout' | 'stderr' | filename
512```
513
514Examples:
515
516* `--logger=HRF,all` will set the `all` log level for the `HRF` log format, and will use the default sink associated to `HRF` (`stdout`)
517* `--logger=JUNIT,,somefile.xml:HRF,warning` will use the default log level associated to the `JUNIT` log format, and will use the file `somefile.xml`
518  as the log sink. It will also enable the `HRF` format with log level `warning`. The corresponding sink will be set to the `HRF` default (`stdout`).
519
520[h4 Command line syntax]
521
522* `--logger=<logger_set>`
523
524[h4 Environment variable]
525
526  BOOST_TEST_LOGGER
527
528[endsect] [/logger]
529
530[/ ###############################################################################################]
531[section:output_format `output_format`]
532
533Parameter ['output_format] combines an effect of
534[link boost_test.utf_reference.rt_param_reference.report_format `report_format`] and
535[link boost_test.utf_reference.rt_param_reference.log_format `log_format`]
536parameters. This parameter does not have
537a default value. The only acceptable values are string names of output formats (see below).
538
539[note This parameter has precedence over ['report_format] and ['log_format] on the command line. ]
540
541[h4 Acceptable values]
542
543[link enum_param_value Enumeration] name:
544
545* HRF
546* XML
547
548['HRF] stands for human readable format, while ['XML] is dedicated to  automated output processing
549
550[h4 Command line syntax]
551
552* `--output_format=<format>`
553* `-o <format>`
554
555[h4 Environment variable]
556
557  BOOST_TEST_OUTPUT_FORMAT
558
559[endsect] [/output_format]
560
561[/ ###############################################################################################]
562[section:random `random`]
563
564Parameter ['random] instructs the __UTF__ to execute the test cases in random order. This parameter
565accepts an optional `unsigned integer` argument for the seed of the random generator:
566
567* By default (value `0`), the test cases are executed in some specific order
568  defined by the order of test units in the test files, and the dependencies between test units.
569* If the parameter is specified without the argument value, or with value `1`, the testing order is randomized based on current time.
570* Alternatively, any positive value greater than `1` will be used as random seed for the run.
571
572[tip in case `--random` is specified, the value of the seed is logged using __BOOST_TEST_MESSAGE__, so that it is possible to replay
573 exactly the same sequence of unit test in case of failure. For the seed to be visible in the logs,
574 make sure the proper [link boost_test.utf_reference.rt_param_reference.log_level `--log_level`] is set.
575 ]
576
577[h4 Acceptable values]
578
579* [*0] (default): no randomization
580* `1`: random seed based on the current time
581* [link regular_param_value integer] `value > 1` : seed for the random number generator
582
583[h4 Command line syntax]
584
585* `--random=<seed>`
586
587[h4 Environment variable]
588
589  BOOST_TEST_RANDOM
590
591[endsect] [/random]
592
593[/ ###############################################################################################]
594[section:report_format `report_format`]
595
596Parameter ['report_format] allows to set the __UTF__ report format to one of the formats supplied
597by the framework. To specify a custom report format use unit_test_report API.
598
599The only acceptable values for this parameter are the names of the output formats. By default the
600framework uses human readable format (HRF) for results reporting. Alternatively you can specify
601XML as report format. This format is easier to process by testing automation tools.
602
603[h4 Acceptable values]
604
605[link enum_param_value Enumeration] names:
606
607* [*HRF] (default)
608* XML
609
610[h4 Command line syntax]
611
612* `--report_format=<format>`
613* `-m <format>`
614
615[h4 Environment variable]
616
617  BOOST_TEST_REPORT_FORMAT
618
619[endsect] [/report_format]
620
621[/ ###############################################################################################]
622[section:report_level `report_level`]
623
624Parameter ['report_level] allows to set the verbosity level of the testing result report generated by
625the __UTF__. Use value "no" to eliminate the results report completely. See the
626[link ref_report_formats report formats] section for description of report formats on different levels.
627
628[h4 Acceptable values]
629
630[link enum_param_value Enumeration] report_level names:
631
632* [*confirm] (default)
633* no
634* short
635* detailed
636
637[h4 Command line syntax]
638
639* `--report_level=<format>`
640* `-r <format>`
641
642[h4 Environment variable]
643
644  BOOST_TEST_REPORT_LEVEL
645
646[endsect] [/report_level]
647
648[/ ###############################################################################################]
649[section:report_memory_leaks_to `report_memory_leaks_to`]
650
651Parameter ['report_memory_leaks_to] allows to specify a file where to report memory leaks to. The
652parameter does not have default value. If it is not specified, memory leaks (if any) are reported
653to the standard error stream.
654
655[h4 Acceptable values]
656
657Arbitrary file name [link regular_param_value string].
658
659[h4 Command line syntax]
660
661* `--report_memory_leaks_to=<file name>`
662
663[h4 Environment variable]
664
665  BOOST_TEST_REPORT_MEMORY_LEAKS_TO
666
667[endsect] [/report_sink]
668
669[/ ###############################################################################################]
670[section:report_sink `report_sink`]
671
672Parameter ['report_sink] allows to set the result report sink - the location where the framework writes
673the result report to, thus it allows to easily redirect the result report to a file or a standard stream.
674By default the testing result report is directed to the standard error stream.
675
676[h4 Acceptable values]
677
678Case sensitive [link regular_param_value string]:
679
680* [*`stderr`] (default)
681* `stdout`
682* arbitrary file name
683
684[h4 Command line syntax]
685
686* `--report_sink=<stream or file name>`
687* `-e <stream or file name>`
688
689[h4 Environment variable]
690
691  BOOST_TEST_REPORT_SINK
692
693[endsect] [/report_sink]
694
695[/ ###############################################################################################]
696[section:result_code `result_code`]
697
698The "no" argument value for the option [`result_code] instructs the __UTF__ to always return zero
699result code. This could be used for test programs executed within IDE. By default this parameter has
700value "yes". See the [link ref_usage_recommendations usage recommendations] section for more details.
701
702[h4 Acceptable values]
703
704[link boolean_param_value Boolean] with default value [*yes].
705
706[h4 Command line syntax]
707
708* `--result_code[=<boolean value>]`
709* `-c [<boolean value>]`
710
711[h4 Environment variable]
712
713  BOOST_TEST_RESULT_CODE
714
715[endsect] [/result_code]
716
717[/ ###############################################################################################]
718[section:run_test `run_test`]
719
720Parameter ['run_test] allows to filter which test units to execute during testing. The __UTF__ supports
721both "selection filters", which allow to select which test units to enable from the set of available
722test units, and "disabler filters", which allow to disable some test units. The __UTF__ also supports
723enabling/disabling test units at compile time. These settings identify the default set of test units
724to run. Parameter ['run_test] is used to change this default. This parameter is repeatable, so you can
725specify more than one filter if necessary.
726It is also possible to use the ':' for separating each filter
727which can be used for filtering the tests with the environment variable `BOOST_TEST_RUN_FILTERS` (as it cannot be
728repeated like `--run_test`).
729
730More details about practical application of this parameter resides in [link boost_test.runtime_config.test_unit_filtering test unit
731filtering] section.
732
733[h4 Acceptable values]
734
735[link regular_param_value String] value representing single filter or a set of filters separated by ':'.
736The following grammar productions describe the syntax of filters:
737
738```
739filter_set    ::= (filter ':')* filter
740filter        ::= relative_spec? test_set
741relative_spec ::= '+' | '!'
742test_set      ::= label | path
743label         ::= '@' identifier
744path          ::= (suite '/')? pattern_list
745pattern_list  ::= (pattern ',')* pattern
746suite         ::= (pattern '/')* pattern
747pattern       ::= '*'? identifier '*'?
748```
749
750[caution the `pattern_list` above indicates test unit inside the same test suite given by `suite`. This means that the syntax
751 "`--run_test=suite1/suite2/A,B,C`" runs the test cases `A`, `B` and `C` that are *inside* `suite1/suite2`. In order to indicate
752 several test units that are not siblings, either repeat the `--run_test` or use `:` to separate the filters.]
753
754Regarding the meaning of these values [link ref_command_line_control see here].
755
756[h4 Command line syntax]
757
758* `--run_test=<test unit filter spec>`
759* `-t <test unit filter spec>`
760
761[h4 Environment variable]
762
763  BOOST_TEST_RUN_FILTERS
764
765[endsect] [/run_test]
766
767[/ ###############################################################################################]
768[section:save_pattern `save_pattern`]
769
770Option ['save_pattern] facilitates switching mode of operation for testing output streams. See __output_test_stream_tool__
771section for details on these tests.
772
773This parameter serves no particular purpose within the framework itself. It can be used by test modules relying
774on [classref boost::test_tools::output_test_stream] to implement testing logic. It has two modes of operation:
775
776* save the pattern file (true).
777* and match against a previously stored pattern file (false).
778
779Default mode is 'match' (false).
780
781You can use this parameter to switch between these modes, by passing the parameter value to the `output_test_stream` constructor.
782The value of the command line parameter is available using call like this:
783``
784bool is_save_pattern_flag_set = boost::unit_test::runtime_config::save_pattern();
785``
786
787[h4 Acceptable values]
788
789[link boolean_param_value Boolean] with default value [*no].
790
791[h4 Command line syntax]
792
793* `--save_pattern[=<boolean value>]`
794
795[h4 Environment variable]
796
797  BOOST_TEST_SAVE_PATTERN
798
799[endsect] [/save_pattern]
800
801[/ ###############################################################################################]
802[section:show_progress `show_progress`]
803
804Option ['show_progress] instructs the __UTF__ to display test progress information. By default the
805parameter test progress is not shown. More details [link boost_test.test_output.test_output_progress here].
806
807[h4 Acceptable values]
808
809[link boolean_param_value Boolean] with default value [*no].
810
811[h4 Command line syntax]
812
813* `--show_progress[=<boolean value>]`
814* `-p [<boolean value>]`
815
816[h4 Environment variable]
817
818  BOOST_TEST_SHOW_PROGRESS
819
820[endsect]
821
822[/ ###############################################################################################]
823[section:use_alt_stack `use_alt_stack`]
824
825Option ['use_alt_stack] instructs the __UTF__ to use alternative stack for signals processing, on
826platforms where they are supported. More information about this feature is available
827[@http://www.gnu.org/software/libc/manual/html_node/Signal-Stack.html here]. The feature is enabled
828by default, but can be disabled using this parameter.
829
830[/ TODO indicate which platforms are supported]
831[/ TODO add a link to the execution monitor]
832[note If this feature is not supported by your compiler, this command line option will be silently ignored.]
833[note it is possible to remove the support of the alternative stack with the macro
834[link boost_test.utf_reference.link_references.config_disable_alt_stack `BOOST_TEST_DISABLE_ALT_STACK`]]
835
836[h4 Acceptable values]
837
838[link boolean_param_value Boolean] with default value [*yes].
839
840[h4 Command line syntax]
841
842* `--use_alt_stack[=<boolean value>]`
843
844[h4 Environment variable]
845
846  BOOST_TEST_USE_ALT_STACK
847
848[endsect] [/use_alt_stack]
849
850[/ ###############################################################################################]
851[section:usage `usage`]
852
853If specified option ['usage] instructs the __UTF__ to displays short usage message about the
854framework's parameters.
855
856[h4 Command line syntax]
857
858* `-? [<boolean value>]`
859
860[note The parameter name is not part of command line format, only short '-?'.]
861
862[h4 Acceptable values]
863
864[link boolean_param_value Boolean] with default value [*no].
865
866[endsect] [/usage]
867
868[/ ###############################################################################################]
869[section:wait_for_debugger `wait_for_debugger`]
870
871Option ['wait_for_debugger] instructs the __UTF__ to pause before starting test units execution,
872so that you can attach a debugger to running test module. By default this parameters turned off.
873
874[h4 Acceptable values]
875
876[link boolean_param_value Boolean] with default value [*no].
877
878[h4 Command line syntax]
879
880* `--wait_for_debugger[=<boolean value>]`
881* `-w [<boolean value>]`
882
883[h4 Environment variable]
884
885  BOOST_TEST_WAIT_FOR_DEBUGGER
886
887[endsect] [/wait_for_debugger]
888
889[endsect] [/ runtime parameters reference]
890