diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-16 22:30:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-16 22:30:48 +0000 |
commit | 95f29c2703facd98141330b4957568387b2a3d15 (patch) | |
tree | b14831e8e249578ade5c8d6ad417a0700e4b6f26 | |
parent | 34d9ffaafd93525bf7965901cf360b80f92ff0f4 (diff) |
CMake: Generate LIT site configuration file for Clang tests, which Daniel will probably have to fix
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82086 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CMakeLists.txt | 4 | ||||
-rw-r--r-- | test/lit.site.cfg.in | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 58e73682f6..e154c0c4d5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -60,3 +60,7 @@ if(PYTHONINTERP_FOUND) DEPENDS clang clang-cc index-test COMMENT "Running Clang regression tests") endif() + +# Produce LIT site configuration file. +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in + ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg) diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in new file mode 100644 index 0000000000..dfb0657706 --- /dev/null +++ b/test/lit.site.cfg.in @@ -0,0 +1,6 @@ +## Autogenerated by LLVM/Clang configuration. +# Do not edit! +config.clang_obj_root = "@CLANG_BINARY_DIR@" + +# Let the main config do the real work. +lit.load_config(config, "@LLVM_SOURCE_DIR@/lit.cfg") |