Skip to content

Commit

Permalink
doc: develop: test: twister: Add ctest harness option
Browse files Browse the repository at this point in the history
Add ctest to the list of harnesses and the ctest_args harness config
option.

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt authored and kartben committed Jan 10, 2025
1 parent 4895b1f commit 60da065
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/develop/test/twister.rst
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ harness: <string>
- pytest
- gtest
- robot
- ctest

Harnesses ``ztest``, ``gtest`` and ``console`` are based on parsing of the
output and matching certain phrases. ``ztest`` and ``gtest`` harnesses look
Expand Down Expand Up @@ -725,6 +726,12 @@ harness_config: <harness configuration options>
If the scope is set to ``function``, DUT is launched for every test case
in python script. For ``session`` scope, DUT is launched only once.

ctest_args: <list of arguments> (default empty)
Specify a list of additional arguments to pass to ``ctest`` e.g.:
``ctest_args: [‘--repeat until-pass:5’]``. Note that
``--ctest-args`` can be passed multiple times to pass several arguments
to the ctest.

robot_testsuite: <robot file path> (default empty)
Specify one or more paths to a file containing a Robot Framework test suite to be run.

Expand Down

0 comments on commit 60da065

Please sign in to comment.