mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Tests: Drop CTestUpdate.BZR test check for xmloutput plugin
Current `bzr` tools do not have any `bzr xmlplugins` command.
This commit is contained in:
+15
-20
@@ -2595,26 +2595,21 @@ if(BUILD_TESTING)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(CTEST_TEST_UPDATE_BZR)
|
if(CTEST_TEST_UPDATE_BZR)
|
||||||
# Check if xmloutput plugin is there
|
set(CTestUpdateBZR_DIR "CTest UpdateBZR")
|
||||||
execute_process(COMMAND ${BZR_EXECUTABLE} xmlplugins RESULT_VARIABLE xmlplugres
|
configure_file("${CMake_SOURCE_DIR}/Tests/CTestUpdateBZR.cmake.in"
|
||||||
OUTPUT_QUIET ERROR_QUIET)
|
"${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake" @ONLY)
|
||||||
if( NOT ${xmlplugres} )
|
add_test(CTest.UpdateBZR ${CMAKE_CMAKE_COMMAND}
|
||||||
set(CTestUpdateBZR_DIR "CTest UpdateBZR")
|
-P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake"
|
||||||
configure_file("${CMake_SOURCE_DIR}/Tests/CTestUpdateBZR.cmake.in"
|
)
|
||||||
"${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake" @ONLY)
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}")
|
||||||
add_test(CTest.UpdateBZR ${CMAKE_CMAKE_COMMAND}
|
set(CTestUpdateBZR_DIR "CTest UpdateBZR_CLocale")
|
||||||
-P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake"
|
configure_file("${CMake_SOURCE_DIR}/Tests/CTestUpdateBZR.cmake.in"
|
||||||
)
|
"${CMake_BINARY_DIR}/Tests/CTestUpdateBZR_CLocale.cmake" @ONLY)
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}")
|
add_test(CTest.UpdateBZR.CLocale ${CMAKE_CMAKE_COMMAND}
|
||||||
set(CTestUpdateBZR_DIR "CTest UpdateBZR_CLocale")
|
-P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR_CLocale.cmake"
|
||||||
configure_file("${CMake_SOURCE_DIR}/Tests/CTestUpdateBZR.cmake.in"
|
)
|
||||||
"${CMake_BINARY_DIR}/Tests/CTestUpdateBZR_CLocale.cmake" @ONLY)
|
set_tests_properties(CTest.UpdateBZR.CLocale PROPERTIES ENVIRONMENT LC_ALL=C)
|
||||||
add_test(CTest.UpdateBZR.CLocale ${CMAKE_CMAKE_COMMAND}
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}")
|
||||||
-P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR_CLocale.cmake"
|
|
||||||
)
|
|
||||||
set_tests_properties(CTest.UpdateBZR.CLocale PROPERTIES ENVIRONMENT LC_ALL=C)
|
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Test CTest Update with GIT
|
# Test CTest Update with GIT
|
||||||
|
|||||||
Reference in New Issue
Block a user