[Lldb-commits] [lldb] [lldb] Improving dotest script flags. (PR #143797)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 12 09:20:21 PDT 2025


================
@@ -204,19 +204,19 @@ def create_parser():
         action="append",
         help='Run "setting set SETTING VALUE" before executing any test.',
     )
-    group.add_argument(
-        "-y",
-        type=int,
-        metavar="count",
-        help="Specify the iteration count used to collect our benchmarks. An example is the number of times to do 'thread step-over' to measure stepping speed.",
-    )
     group.add_argument(
         "-#",
         type=int,
         metavar="sharp",
         dest="sharp",
         help="Repeat the test suite for a specified number of times",
     )
+    group.add_argument(
+        "--failfast",
+        dest="failfast",
+        action="store_true",
+        help="Stop on first fail or error",
----------------
ashgti wrote:

I copied this from python's unittest.main https://github.com/python/cpython/blob/3.13/Lib/unittest/main.py#L177-L179 since thats what I am emulating. I can update the wording though.

It does apply to all tests, not just the `-#` runs.

https://github.com/llvm/llvm-project/pull/143797


More information about the lldb-commits mailing list