summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/Inputs/exec-discovery
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-04-12 19:08:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-04-12 19:08:57 +0000
commitb5e9727ee53d702f70b0cf7ccd36eed8436d2802 (patch)
tree94ebdea976bbeb4944d2845061f65c9648365a0e /llvm/utils/lit/tests/Inputs/exec-discovery
parent4a3b160d4f2a244179e4edff3061c1b7fc127d34 (diff)
downloadbcm5719-llvm-b5e9727ee53d702f70b0cf7ccd36eed8436d2802.tar.gz
bcm5719-llvm-b5e9727ee53d702f70b0cf7ccd36eed8436d2802.zip
lit: Add a test for discovery w/ test_exec_root (out-of-tree test root).
llvm-svn: 179401
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/exec-discovery')
-rw-r--r--llvm/utils/lit/tests/Inputs/exec-discovery/lit.site.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/exec-discovery/lit.site.cfg b/llvm/utils/lit/tests/Inputs/exec-discovery/lit.site.cfg
new file mode 100644
index 00000000000..796569a301b
--- /dev/null
+++ b/llvm/utils/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.load_config(config, os.path.join(config.test_source_root, "lit.cfg"))
OpenPOWER on IntegriCloud