diff --git a/llvm/utils/lit/lit/cl_arguments.py b/llvm/utils/lit/lit/cl_arguments.py --- a/llvm/utils/lit/lit/cl_arguments.py +++ b/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", diff --git a/llvm/utils/lit/lit/main.py b/llvm/utils/lit/lit/main.py --- a/llvm/utils/lit/lit/main.py +++ b/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(