test: ut: Add -m as alias for the -f flag
Add -m as an alias for the -f flag which forces manual tests to run.
This provides consistency with external test runners that will use -m
for "manual" tests.
Also update the documentation to explain what manual tests are, and fix
a typo ("types" -> "times") in the -r description.
Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -11,7 +11,7 @@ Synopsis
|
||||
|
||||
::
|
||||
|
||||
ut [-r<runs>] [-f] [-R] [-I<n>:<one_test>] [<suite> | all [<test>]] [<args>...]
|
||||
ut [-fmr<runs>] [-R] [-I<n>:<one_test>] [<suite> | all [<test>]] [<args>...]
|
||||
ut [-s] info
|
||||
|
||||
Description
|
||||
@@ -26,11 +26,13 @@ suite
|
||||
test
|
||||
Speciifes a particular test to run, within a suite, or all suites
|
||||
|
||||
-f
|
||||
Forces running of a manual test.
|
||||
-f, -m
|
||||
Force running of manual tests. Manual tests have the `_norun` suffix and
|
||||
are normally skipped because they require external setup (e.g., creating
|
||||
disk images from Python/pytest).
|
||||
|
||||
-r <n>
|
||||
Specifies the number of types to run each test
|
||||
Specifies the number of times to run each test
|
||||
|
||||
-I <n>:<one_test>
|
||||
Test to run after <n> other tests have run. This is used to find which test
|
||||
|
||||
Reference in New Issue
Block a user