summaryrefslogtreecommitdiff
path: root/test/lit.site.cfg.in
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-17 19:55:53 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-17 19:55:53 +0000
commit7af18d359f6eff022a7a55335705b018a3c191d7 (patch)
treedbafdd212411851a8cd31fbe6235d08dc2bc9f0b /test/lit.site.cfg.in
parentd85cef5a54074a5f647f45c2218675f7774a909d (diff)
downloadclang-7af18d359f6eff022a7a55335705b018a3c191d7.tar.gz
clang-7af18d359f6eff022a7a55335705b018a3c191d7.tar.bz2
clang-7af18d359f6eff022a7a55335705b018a3c191d7.tar.xz
Tweak clang testing.
- Move CMake to using the new test runner. - Switch Makefiles to use the lit.site.cfg.in template. - Remove explicit --path arguments, instead this gets written into the site configuration. This means running lit from the command line should use the exact same configuration as is used in 'make test', assuming it can find the site configuration file. You still need to run 'make test' (or the cmake build target equivalent) at least once. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.site.cfg.in')
-rw-r--r--test/lit.site.cfg.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index 21b75994ae..e91fbed590 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -1,6 +1,7 @@
-## Autogenerated by LLVM/Clang configuration.
+## Autogenerated by LLVM/Clang configuration.
# Do not edit!
config.clang_obj_root = "@CLANG_BINARY_DIR@"
+config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
# Let the main config do the real work.
lit.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg")