[libcxx-commits] [libcxx] [libc++][lit] Allow overriding the executor for tests (PR #66545)

Alexander Richardson via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 25 16:57:53 PDT 2023


================
@@ -314,5 +317,14 @@ def getStdFlag(cfg, std):
             AddCompileFlag("-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES"),
         ],
     ),
+    Parameter(
+        name="executor",
+        type=str,
+        default=f"{sys.executable} {Path(__file__).resolve().parent.parent.parent / 'run.py'}",
+        help="Custom executor to use instead of the configured default.",
+        actions=lambda executor: [] if not executor else [
----------------
arichardson wrote:

Thanks! Will merge once CI completes successfully.

https://github.com/llvm/llvm-project/pull/66545


More information about the libcxx-commits mailing list