diff --git a/llvm/utils/lit/lit/cl_arguments.py b/llvm/utils/lit/lit/cl_arguments.py index 3e5488f388ccf..a401c9a09e081 100644 --- a/llvm/utils/lit/lit/cl_arguments.py +++ b/llvm/utils/lit/lit/cl_arguments.py @@ -175,12 +175,15 @@ def parse_args(): type=lit.reports.TimeTraceReport, help="Write Chrome tracing compatible JSON to the specified file", ) + # This option only exists for the benefit of LLVM's Buildkite CI pipelines. + # As soon as it is not needed, it should be removed. Its help text would be: + # When enabled, lit will add a unique element to the output file name, + # before the extension. For example "results.xml" will become + # "results..xml". The "" is not ordered in any + # way and is chosen so that existing files are not overwritten. [Default: Off] execution_group.add_argument( "--use-unique-output-file-name", - help="When enabled, lit will add a unique element to the output file name, " - 'before the extension. For example "results.xml" will become ' - '"results..xml". The "" is not ordered in any ' - "way and is chosen so that existing files are not overwritten. [Default: Off]", + help=argparse.SUPPRESS, action="store_true", ) execution_group.add_argument(