summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-12 16:21:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-12 16:21:19 +0000
commit12225eb68763e3b1a69fbc20c133e0ee0586be3f (patch)
tree1fcb7819dbbee03a53f21316ecae84d45896fa4e /llvm/test/CMakeLists.txt
parentfix PR7360: -P mode turns off line markers, but not blank space. (diff)
downloadllvm-project-12225eb68763e3b1a69fbc20c133e0ee0586be3f.tar.gz
llvm-project-12225eb68763e3b1a69fbc20c133e0ee0586be3f.tar.bz2
llvm-project-12225eb68763e3b1a69fbc20c133e0ee0586be3f.zip
tests: Propogate LLVM_SRC_ROOT and PYTHON_EXECUTABLE environment variables to tests.
llvm-svn: 105890
Diffstat (limited to 'llvm/test/CMakeLists.txt')
-rw-r--r--llvm/test/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index ab060c91a582..433af900dd2b 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/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}#"