aboutsummaryrefslogtreecommitdiff
path: root/utils/lit/tests/Inputs/exec-discovery-in-tree/lit.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
commit406ef447074421f91c01c41f0e26fdef937e627c (patch)
treeb5e67ee6b043ccdf16af5422404c5849d1d824ee /utils/lit/tests/Inputs/exec-discovery-in-tree/lit.cfg
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/lit.cfg')
-rw-r--r--utils/lit/tests/Inputs/exec-discovery-in-tree/lit.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/lit/tests/Inputs/exec-discovery-in-tree/lit.cfg b/utils/lit/tests/Inputs/exec-discovery-in-tree/lit.cfg
new file mode 100644
index 0000000000..342b2fdd3c
--- /dev/null
+++ b/utils/lit/tests/Inputs/exec-discovery-in-tree/lit.cfg
@@ -0,0 +1,7 @@
+# Verify that the site configuration was loaded.
+if config.test_source_root is None or config.test_exec_root is None:
+ lit.fatal("No site specific configuration")
+
+config.name = 'exec-discovery-in-tree-suite'
+config.suffixes = ['.txt']
+config.test_format = lit.formats.ShTest()