diff options
author | Brad King <brad.king@kitware.com> | 2009-05-18 14:34:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-05-18 14:34:35 (GMT) |
commit | 55c4cbbae91d1f24b30f8312156acbf9744235e5 (patch) | |
tree | 8944be3df3c29b86009710382cc8a22f4c2941da /Tests | |
parent | a40bca5398d1b56d6e76828515ba058f6bf52091 (diff) | |
download | CMake-55c4cbbae91d1f24b30f8312156acbf9744235e5.zip CMake-55c4cbbae91d1f24b30f8312156acbf9744235e5.tar.gz CMake-55c4cbbae91d1f24b30f8312156acbf9744235e5.tar.bz2 |
BUG: Parse more bzr xml output encodings
The BZR xml output plugin can use some encodings that are not recognized
by expat, which leads to "Error parsing bzr log xml: unknown encoding".
This works around the problem by giving expat a mapping, and adds a
test. Patch from Tom Vercauteren. See issue #6857.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index ac38b78..29bfb52 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -939,6 +939,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel ADD_TEST(CTest.UpdateBZR ${CMAKE_CMAKE_COMMAND} -P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake" ) + ADD_TEST(CTest.UpdateBZR.CLocale ${CMAKE_CMAKE_COMMAND} + -P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake" + ) + SET_TESTS_PROPERTIES(CTest.UpdateBZR.CLocale PROPERTIES ENVIRONMENT LC_ALL=C) LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}") ENDIF( NOT ${xmlplugres} ) ENDIF(BZR_EXECUTABLE) |