diff --git a/llvm/utils/lit/lit/main.py b/llvm/utils/lit/lit/main.py index 72ba6359a7ef..a7f407fc210c 100755 --- a/llvm/utils/lit/lit/main.py +++ b/llvm/utils/lit/lit/main.py @@ -282,6 +282,9 @@ def main_with_tmp(builtinParameters): debug_group.add_argument("--show-tests", dest="showTests", help="Show all discovered tests", action="store_true", default=False) + debug_group.add_argument("--use-processes", dest="executionStrategy", + help="Run tests in parallel with processes (not threads)", + action="store_const", const="PROCESSES") opts = parser.parse_args() args = opts.test_paths