diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-12 16:21:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-12 16:21:19 +0000 |
commit | 9b2cb695b38f0a33d7559639c265821ae74b97dc (patch) | |
tree | 82974d97e7531df2b8fe4a9e6b717feeee82ebdd /test/CMakeLists.txt | |
parent | 1befb9b2df7b287872021518cedce4a0aeca3b95 (diff) |
tests: Propogate LLVM_SRC_ROOT and PYTHON_EXECUTABLE environment variables to tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ab060c91a5..433af900dd 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -35,6 +35,7 @@ if(PYTHONINTERP_FOUND) -e "s#\@LLVM_BINARY_DIR\@#${LLVM_BINARY_DIR}#" -e "s#\@LLVM_TOOLS_DIR\@#${LLVM_TOOLS_BINARY_DIR}/${CMAKE_CFG_INTDIR}#" -e "s#\@LLVMGCCDIR\@##" + -e "s#\@PYTHON_EXECUTABLE\@#${PYTHON_EXECUTABLE}#" ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in > ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg COMMAND sed -e "s#\@LLVM_SOURCE_DIR\@#${LLVM_MAIN_SRC_DIR}#" |