Tests: Drop CTestUpdate.BZR test check for xmloutput plugin

Current `bzr` tools do not have any `bzr xmlplugins` command.
This commit is contained in:
Brad King
2022-02-04 16:08:55 -05:00
parent f2566f6416
commit 1972a75536
+15 -20
View File
@@ -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