summaryrefslogtreecommitdiff
path: root/test/Unit
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-01-27 22:57:30 +0000
committerAdrian Prantl <aprantl@apple.com>2014-01-27 22:57:30 +0000
commit4c78edec5f30fdc760380dd5e56a5c26317dd6f1 (patch)
treed060d018ca653a5cbe5dd7a42e524a8febe85552 /test/Unit
parent4d81cc1256406cbeeca912c73dbd2d1346d7bba7 (diff)
Reverting because reverting r200145.
Revert "clang-check: Unittests doesn't requires tools." This reverts commit r200147. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Unit')
-rw-r--r--test/Unit/lit.site.cfg.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Unit/lit.site.cfg.in b/test/Unit/lit.site.cfg.in
index cfa0cc6993..3df60696b6 100644
--- a/test/Unit/lit.site.cfg.in
+++ b/test/Unit/lit.site.cfg.in
@@ -2,6 +2,7 @@ import sys
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
+config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
config.llvm_build_mode = "@LLVM_BUILD_MODE@"
config.clang_obj_root = "@CLANG_BINARY_DIR@"
@@ -14,6 +15,7 @@ config.target_triple = "@TARGET_TRIPLE@"
# parameters. This is used when we can't determine the tool dir at
# configuration time.
try:
+ config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
config.llvm_build_mode = config.llvm_build_mode % lit_config.params
except KeyError: