[PATCH] D113646: [lit] NFC: Add missing option descriptions to documentation
Misono Tomohiro via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 10 22:09:21 PST 2021
t-msn created this revision.
t-msn published this revision for review.
t-msn added a reviewer: cmatthews.
t-msn added a comment.
Herald added a project: LLVM.
I'm not sure who is the code owner of this. Could you please review this as I see you have previously review similar commit?
Some options are missing in the documentation.
Add them in accordance with help messages.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113646
Files:
llvm/docs/CommandGuide/lit.rst
Index: llvm/docs/CommandGuide/lit.rst
===================================================================
--- llvm/docs/CommandGuide/lit.rst
+++ llvm/docs/CommandGuide/lit.rst
@@ -104,14 +104,34 @@
Show more information about all tests, for example the entire test
commandline and output.
+.. option:: -o PATH, --output PATH
+
+ Write test results to the provided path.
+
.. option:: --no-progress-bar
Do not use curses based progress bar.
+.. option:: --show-excluded
+
+ Show the names of excluded tests.
+
+.. option:: --show-skipped
+
+ Show the names of skipped tests.
+
.. option:: --show-unsupported
Show the names of unsupported tests.
+.. option:: --show-pass
+
+ Show the names of passed tests.
+
+.. option:: --show-flakypass
+
+ Show the names of passed with retry tests.
+
.. option:: --show-xfail
Show the names of tests that were expected to fail.
@@ -153,6 +173,26 @@
in the summary output. This is useful for determining which tests in a test
suite take the most time to execute.
+.. option:: --no-execute
+
+ Don't execute any tests (assume PASS).
+
+.. option:: --xunit-xml-output XUNIT_XML_OUTPUT
+
+ Write XUnit-compatible XML test reports to the specified file.
+
+.. option:: --resultdb-output RESULTDB_OUTPUT
+
+ Write LuCI ResuldDB compatible JSON to the specified file.
+
+.. option:: --time-trace-output TIME_TRACE_OUTPUT
+
+ Write Chrome tracing compatible JSON to the specified file.
+
+.. option:: --allow-empty-runs
+
+ Do not fail the run if all tests are filtered out.
+
.. option:: --ignore-fail
Exit with status zero even if some tests fail.
@@ -304,6 +344,10 @@
List all of the discovered tests and exit.
+.. option:: --show-used-features
+
+ List all of the used features in tests and exit.
+
EXIT STATUS
-----------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113646.386418.patch
Type: text/x-patch
Size: 1802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211111/aebc5980/attachment-0001.bin>
More information about the llvm-commits
mailing list