aboutsummaryrefslogtreecommitdiff
path: root/utils/lit/tests/Inputs/exec-discovery-in-tree/obj
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
commit406ef447074421f91c01c41f0e26fdef937e627c (patch)
treeb5e67ee6b043ccdf16af5422404c5849d1d824ee /utils/lit/tests/Inputs/exec-discovery-in-tree/obj
parentf2c2b2009016b44b49f41a35c750f1555f68935b (diff)
lit: Fix infinite recursion when an out-of-tree test root is located inside the source test root.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/tests/Inputs/exec-discovery-in-tree/obj')
-rw-r--r--utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg b/utils/lit/tests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
new file mode 100644
index 0000000000..de9a3d0c6d
--- /dev/null
+++ b/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