[LIT] NFC adding max-failures option to lit documentation.
authorMike Edwards <medwards@apple.com>
Sat, 6 Jun 2020 23:53:58 +0000 (16:53 -0700)
committerMike Edwards <medwards@apple.com>
Sun, 7 Jun 2020 01:26:45 +0000 (18:26 -0700)
Differential Revision: https://reviews.llvm.org/D81337

llvm/docs/CommandGuide/lit.rst

index 4fad853..dfc079e 100644 (file)
@@ -158,6 +158,13 @@ EXECUTION OPTIONS
 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.