Index: third_party/lit/lit/ExampleTests.ObjDir/lit.site.cfg |
diff --git a/third_party/lit/lit/ExampleTests.ObjDir/lit.site.cfg b/third_party/lit/lit/ExampleTests.ObjDir/lit.site.cfg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14b6e013413933673d2a1447990754f2eafe32d4 |
--- /dev/null |
+++ b/third_party/lit/lit/ExampleTests.ObjDir/lit.site.cfg |
@@ -0,0 +1,15 @@ |
+# -*- Python -*- |
+ |
+# Site specific configuration file. |
+# |
+# Typically this will be generated by the build system to automatically set |
+# certain configuration variables which cannot be autodetected, so that 'lit' |
+# can easily be used on the command line. |
+ |
+import os |
+ |
+# Preserve the obj_root, for use by the main lit.cfg. |
+config.example_obj_root = os.path.dirname(__file__) |
+ |
+lit.load_config(config, os.path.join(config.test_source_root, |
+ 'lit.cfg')) |