summaryrefslogtreecommitdiffstats
path: root/utils/lit/ExampleTests.ObjDir/lit.site.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/ExampleTests.ObjDir/lit.site.cfg')
-rw-r--r--utils/lit/ExampleTests.ObjDir/lit.site.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/lit/ExampleTests.ObjDir/lit.site.cfg b/utils/lit/ExampleTests.ObjDir/lit.site.cfg
new file mode 100644
index 0000000..14b6e01
--- /dev/null
+++ b/utils/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'))
OpenPOWER on IntegriCloud