From ffbe61bb117eb8bc4ef7ab0397f061d40877baff Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Sat, 10 May 2008 11:12:09 -0400 Subject: [PATCH] ENH: make sure english is used for output of gcov --- Source/CTest/cmCTestCoverageHandler.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index a3a9c8f6f..121b25f95 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -706,6 +706,8 @@ int cmCTestCoverageHandler::HandleGCovCoverage( " Processing coverage (each . represents one file):" << std::endl); cmCTestLog(this->CTest, HANDLER_OUTPUT, " "); int file_count = 0; + // make sure output from gcov is in English! + cmSystemTools::PutEnv("LC_ALL=POSIX"); for ( it = files.begin(); it != files.end(); ++ it ) { cmCTestLog(this->CTest, HANDLER_OUTPUT, "." << std::flush);