# Test target to run Python test suite from main build.

add_custom_target(check-clang-python
	COMMAND CLANG_LIBRARY_PATH=$<TARGET_FILE_DIR:libclang> ${PYTHON_EXECUTABLE} -m unittest discover
	DEPENDS libclang
	WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)

set_property(GLOBAL APPEND PROPERTY LLVM_ADDITIONAL_TEST_TARGETS check-clang-python)

# Test target to run Python test suite from main build.

add_custom_target(check-clang-python
	COMMAND CLANG_LIBRARY_PATH=$<TARGET_FILE_DIR:libclang> ${PYTHON_EXECUTABLE} -m unittest discover
	DEPENDS libclang
	WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)

#set_property(GLOBAL APPEND PROPERTY LLVM_ADDITIONAL_TEST_TARGETS check-clang-python)

Remove Python tests from check-all due to breakage
[tests] Remove Python tests from check-all due to breakage

Remove the Python tests from default target in order to fix two
kinds of breakage uncovered by enabling them: one failing test on Linux,
and problem with the test command on Windows.  Both to be addressed
in followup revisions.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@344260 91177308-0d34-0410-b5e6-96231b3b80d8
