summaryrefslogtreecommitdiff
path: root/test/lit.cfg.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-11-17 00:41:18 +0000
committerZachary Turner <zturner@google.com>2017-11-17 00:41:18 +0000
commit64b283d23bc191a224ec531cf216bfd0d33c16c8 (patch)
treeb11bf57cb8ea65c884cb517fb2deb701040929e1 /test/lit.cfg.py
parenta0bb6678c7a5e79abd874259049dcf85bf7d1b76 (diff)
Re-revert "Refactor debuginfo-tests"
This is still broken because it causes certain tests to be run twice with slightly different configurations, which is wrong in some cases. You can observe this by running: ninja -nv check-all | grep debuginfo-tests And seeing that it passes clang/test and clang/test/debuginfo-tests to lit, which causes it to run debuginfo-tests twice. The fix is going to involve either: a) figuring out that we're running in this "deprecated" configuration, and then deleting the clang/test/debuginfo-tests path, which should cause it to behave identically to before, or: b) make lit smart enough that it doesn't descend into a sub-suite if that sub-suite already has a lit.cfg file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r--test/lit.cfg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit.cfg.py b/test/lit.cfg.py
index d2f0491821..39bdf36afd 100644
--- a/test/lit.cfg.py
+++ b/test/lit.cfg.py
@@ -58,6 +58,8 @@ tool_dirs = [config.clang_tools_dir, config.llvm_tools_dir]
tools = [
'c-index-test', 'clang-check', 'clang-diff', 'clang-format', 'opt',
+ ToolSubst('%test_debuginfo', command=os.path.join(
+ config.llvm_src_root, 'utils', 'test_debuginfo.pl')),
ToolSubst('%clang_func_map', command=FindTool(
'clang-func-mapping'), unresolved='ignore'),
]