summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderDirectories.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-04 18:20:49 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-04 18:20:49 (GMT)
commite73bf1c384b644a122cccc4a85a1c0fb0943759a (patch)
tree14d14877c45179cab39541815258bf2d874786c7 /Source/cmOrderDirectories.h
parentc59ed2955294d6b8fe25926c95711f794284354f (diff)
downloadCMake-e73bf1c384b644a122cccc4a85a1c0fb0943759a.zip
CMake-e73bf1c384b644a122cccc4a85a1c0fb0943759a.tar.gz
CMake-e73bf1c384b644a122cccc4a85a1c0fb0943759a.tar.bz2
CTest: Do not truncate UTF-8 test output too early (#10656)
Since commit e4beefeb (CTest: Do not munge UTF-8 output in XML files, 2009-12-08) we validate UTF-8 encoding of build and test output as it is written to XML files. However, in cmCTestTestHandler::CleanTestOutput we still processed test output one byte at a time and did not recognize multi-byte UTF-8 characters. Presence of such characters caused early truncation. Teach CleanTestOutput to truncate test output at the limit but without cutting it in the middle of a multi-byte encoding. Also, stop avoiding truncation in the middle of an XML tag like "<MyElement>" because the '<' and '>' will be properly escaped in the generated XML anyway.
Diffstat (limited to 'Source/cmOrderDirectories.h')
0 files changed, 0 insertions, 0 deletions