[PATCH] D81337: Add max-failures option to lit documentation

Mike Edwards via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 6 17:04:31 PDT 2020


sqlbyme created this revision.
sqlbyme added a reviewer: cmatthews.
sqlbyme added a project: LLVM.
Herald added a subscriber: llvm-commits.

The max-failures option is not listed in the online documentation.  I thought we should fix that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81337

Files:
  llvm/docs/CommandGuide/lit.rst


Index: llvm/docs/CommandGuide/lit.rst
===================================================================
--- llvm/docs/CommandGuide/lit.rst
+++ llvm/docs/CommandGuide/lit.rst
@@ -158,6 +158,13 @@
 SELECTION OPTIONS
 -----------------
 
+.. option:: --max-failures MAX_FAILURES
+
+ Stop execution after the given number of failures.
+ An integer argument may be passed on the command line
+ or the environment vairable MAX_FAILURES may be set
+ prior to execution.
+
 .. option:: --max-tests=N
 
  Run at most ``N`` tests and then terminate.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81337.269034.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200607/3e3362be/attachment.bin>


More information about the llvm-commits mailing list