[llvm] [llvm][llvm-lit] Add option to create unique result file names if results already exist (PR #112729)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 07:29:39 PDT 2024


================
@@ -175,6 +175,15 @@ def parse_args():
         type=lit.reports.TimeTraceReport,
         help="Write Chrome tracing compatible JSON to the specified file",
     )
+    execution_group.add_argument(
+        "--use-unique-output-file-name",
+        help="When enabled, lit will not overwrite existing test report files. "
+        "Instead it will write to a new file named the same as the output file "
+        "name but with a extra part before the file extension. For example "
----------------
DavidSpickett wrote:

Fixed.

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


More information about the llvm-commits mailing list