]> granicus.if.org Git - llvm/commitdiff
Add back a dummy --use-processes.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 May 2017 18:55:01 +0000 (18:55 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 May 2017 18:55:01 +0000 (18:55 +0000)
Some bots are using it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303282 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/main.py

index 72ba6359a7ef721ecb07880380aaf7fe4f88e3b6..a7f407fc210ce6b1ed9ce62f95a774864549f5d2 100755 (executable)
@@ -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