mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
Tests/RunCMake/ctest_build: Fix check script for i18n characters in path
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
file(GLOB build_xml_file "${RunCMake_TEST_BINARY_DIR}/Testing/*/Build.xml")
|
||||
if(build_xml_file)
|
||||
file(STRINGS "${build_xml_file}" build_cmd LIMIT_COUNT 1 REGEX "<BuildCommand>")
|
||||
file(STRINGS "${build_xml_file}" build_cmd LIMIT_COUNT 1 REGEX "<BuildCommand>" ENCODING UTF-8)
|
||||
if(NOT build_cmd MATCHES [[ --parallel "1"]])
|
||||
set(RunCMake_TEST_FAILED
|
||||
"Build.xml does not have expected build command with --parallel flag"
|
||||
|
||||
Reference in New Issue
Block a user