summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-04-12 19:09:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-04-12 19:09:09 +0000
commit175aed579d8327d0433adab18c5725c78ef85bd6 (patch)
treea52bcac49f6c81601eb2713be632aa59c40ca263 /llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
parentb5e9727ee53d702f70b0cf7ccd36eed8436d2802 (diff)
downloadbcm5719-llvm-175aed579d8327d0433adab18c5725c78ef85bd6.tar.gz
bcm5719-llvm-175aed579d8327d0433adab18c5725c78ef85bd6.zip
lit: Fix infinite recursion when an out-of-tree test root is located inside the source test root.
llvm-svn: 179402
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg')
-rw-r--r--llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg b/llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
new file mode 100644
index 00000000000..de9a3d0c6df
--- /dev/null
+++ b/llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
@@ -0,0 +1,4 @@
+import os
+config.test_exec_root = os.path.dirname(__file__)
+config.test_source_root = os.path.dirname(config.test_exec_root)
+lit.load_config(config, os.path.join(config.test_source_root, "lit.cfg")) \ No newline at end of file
OpenPOWER on IntegriCloud