[llvm] [llvm][llvm-lit] Hide --use-unique-output-file-name from --help (PR #114812)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 07:30:42 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-testing-tools
Author: David Spickett (DavidSpickett)
<details>
<summary>Changes</summary>
I was too hasty landing an option whose only known use at this time is LLVM's own CI.
We may be able to remove it before the next branch that would be the next llvm-lit release outside of llvm, but the timing may not work out.
So I am hiding the option in case that were to happen.
---
Full diff: https://github.com/llvm/llvm-project/pull/114812.diff
1 Files Affected:
- (modified) llvm/utils/lit/lit/cl_arguments.py (+7-4)
``````````diff
diff --git a/llvm/utils/lit/lit/cl_arguments.py b/llvm/utils/lit/lit/cl_arguments.py
index 3e5488f388ccfa..a401c9a09e081b 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.<something>.xml". The "<something>" 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.<something>.xml". The "<something>" 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(
``````````
</details>
https://github.com/llvm/llvm-project/pull/114812
More information about the llvm-commits
mailing list