[cfe-commits] r77223 - /cfe/trunk/test/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Mon Jul 27 11:31:49 PDT 2009
Author: dgregor
Date: Mon Jul 27 13:31:49 2009
New Revision: 77223
URL: http://llvm.org/viewvc/llvm-project?rev=77223&view=rev
Log:
Prepare CMake regression testing for Daniel's upcoming fix to the test runner
Modified:
cfe/trunk/test/CMakeLists.txt
Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=77223&r1=77222&r2=77223&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Mon Jul 27 13:31:49 2009
@@ -24,8 +24,6 @@
include(FindPythonInterp)
if(PYTHONINTERP_FOUND)
get_target_property(LLVM_TOOLS_PATH clang RUNTIME_OUTPUT_DIRECTORY)
- set(TESTING_EXTRA_PATHS
- "${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}:${LLVM_SOURCE_DIR}/test/Scripts")
set(CLANG_TEST_EXTRA_ARGS)
if (MSVC OR XCODE)
set(CLANG_TEST_EXTRA_ARGS "--no-progress-bar")
@@ -35,7 +33,8 @@
add_custom_target(clang-test-${testdir}
${PYTHON_EXECUTABLE}
${LLVM_SOURCE_DIR}/tools/clang/utils/test/MultiTestRunner.py
- "--path=${TESTING_EXTRA_PATHS}"
+ "--path=${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}"
+ "--path=${LLVM_SOURCE_DIR}/test/Scripts"
-s ${CLANG_TEST_EXTRA_ARGS}
--clang=${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}/clang
--clang-cc=${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}/clang-cc
@@ -49,7 +48,8 @@
add_custom_target(clang-test
${PYTHON_EXECUTABLE}
${LLVM_SOURCE_DIR}/tools/clang/utils/test/MultiTestRunner.py
- "--path=${TESTING_EXTRA_PATHS}"
+ "--path=${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}"
+ "--path=${LLVM_SOURCE_DIR}/test/Scripts"
-s ${CLANG_TEST_EXTRA_ARGS}
--clang=${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}/clang
--clang-cc=${LLVM_TOOLS_PATH}/${CMAKE_CFG_INTDIR}/clang-cc
More information about the cfe-commits
mailing list