Skip to content

Run Options

Gavin Fielder edited this page May 7, 2019 · 14 revisions

These options are selected either in options-config.ini (to set the default run options) and/or as command line options.

In both cases, options are processed left to right, and can override previous selections.

Option On Off Default
Debugger compatibility Mode -d off*
Timeout -t -T on
Test history logging -l -L on
Include disabled tests -a -A off
Leaks test (BETA) -k -K off
Fork mode -x -X on
Handle Signals -s -S on **
Print run info before tests -i -I on
Refresh test results before each run -r -R on
  • * : default on for single tests
  • ** : Only relevant to non-fork mode

Additional options when test history logging is enabled

Historical category
Select only the following = Recently failed tests f
Include the following + Recently passed tests p
Exclude the following - Outdated tests o
Tests with no history n
Option On Off Default
Update test history log when complete -w -W on

examples

  • ./test --p x runs tests that start with 'x', but excludes tests that recently passed.
  • ./test -d=po nocrash runs tests in debug mode that start with 'nocrash' that are either passing or outdated.
  • ./test -=f s runs only recently failed tests that start with 's'.