[PATCH] D159079: [LIT] Don't exit after showing all discovered tests
Madhur Amilkanthwar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 03:24:14 PDT 2023
madhur13490 created this revision.
madhur13490 added a reviewer: yln.
Herald added a subscriber: delcypher.
Herald added a project: All.
madhur13490 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
It is useful to continue than exit as it shows the summary
at the top.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159079
Files:
llvm/utils/lit/lit/cl_arguments.py
llvm/utils/lit/lit/main.py
Index: llvm/utils/lit/lit/main.py
===================================================================
--- llvm/utils/lit/lit/main.py
+++ llvm/utils/lit/lit/main.py
@@ -53,7 +53,6 @@
if opts.show_suites or opts.show_tests:
print_discovered(discovered_tests, opts.show_suites, opts.show_tests)
- sys.exit(0)
if opts.show_used_features:
features = set(
Index: llvm/utils/lit/lit/cl_arguments.py
===================================================================
--- llvm/utils/lit/lit/cl_arguments.py
+++ llvm/utils/lit/lit/cl_arguments.py
@@ -285,7 +285,7 @@
action="store_true",
)
debug_group.add_argument(
- "--show-tests", help="Show all discovered tests and exit", action="store_true"
+ "--show-tests", help="Show all discovered tests", action="store_true"
)
debug_group.add_argument(
"--show-used-features",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159079.554241.patch
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/8cb22194/attachment.bin>
More information about the llvm-commits
mailing list