Index: third_party/lit/tests/Inputs/exec-discovery/lit.site.cfg |
diff --git a/third_party/lit/tests/Inputs/exec-discovery/lit.site.cfg b/third_party/lit/tests/Inputs/exec-discovery/lit.site.cfg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac273c797c5f3ee41748ae2e5a76aa31084445de |
--- /dev/null |
+++ b/third_party/lit/tests/Inputs/exec-discovery/lit.site.cfg |
@@ -0,0 +1,5 @@ |
+# Load the discovery suite, but with a separate exec root. |
+import os |
+config.test_exec_root = os.path.dirname(__file__) |
+config.test_source_root = os.path.join(os.path.dirname(config.test_exec_root), "discovery") |
+lit_config.load_config(config, os.path.join(config.test_source_root, "lit.cfg")) |