ENH: make sure english is used for output of gcov

This commit is contained in:
Bill Hoffman 2008-05-10 11:12:09 -04:00
parent a6b053ecb9
commit ffbe61bb11
1 changed files with 2 additions and 0 deletions

View File

@ -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);