twister: fix wrong flag name in the helpdoc

The flag --testcase-root has been renamed to --testsuite-root in

15bc98eb50 twister: rename TestCase -> TestSuite

Fix the --help text to reflect the change.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2022-05-19 17:54:02 +01:00 committed by Marti Bolivar
parent 69a13bbb5d
commit bd61ced760
1 changed files with 3 additions and 3 deletions

View File

@ -231,8 +231,8 @@ def parse_arguments():
"""
Artificially long but functional example:
$ ./scripts/twister -v \\
--testcase-root tests/ztest/base \\
--testcase-root tests/kernel \\
--testsuite-root tests/ztest/base \\
--testsuite-root tests/kernel \\
--test tests/ztest/base/testing.ztest.verbose_0 \\
--test tests/kernel/fifo/fifo_api/kernel.fifo
@ -284,7 +284,7 @@ Artificially long but functional example:
case_select.add_argument("--list-tests", action="store_true",
help="""List of all sub-test functions recursively found in
all --testcase-root arguments. Note different sub-tests can share
all --testsuite-root arguments. Note different sub-tests can share
the same section name and come from different directories.
The output is flattened and reports --sub-test names only,
not their directories. For instance net.socket.getaddrinfo_ok