Skip to content

Commit 60da065

Browse files
pdgendtkartben
authored andcommitted
doc: develop: test: twister: Add ctest harness option
Add ctest to the list of harnesses and the ctest_args harness config option. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
1 parent 4895b1f commit 60da065

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/develop/test/twister.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ harness: <string>
560560
- pytest
561561
- gtest
562562
- robot
563+
- ctest
563564

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

729+
ctest_args: <list of arguments> (default empty)
730+
Specify a list of additional arguments to pass to ``ctest`` e.g.:
731+
``ctest_args: [‘--repeat until-pass:5’]``. Note that
732+
``--ctest-args`` can be passed multiple times to pass several arguments
733+
to the ctest.
734+
728735
robot_testsuite: <robot file path> (default empty)
729736
Specify one or more paths to a file containing a Robot Framework test suite to be run.
730737

0 commit comments

Comments
 (0)