summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-05-10 15:12:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-05-10 15:12:09 (GMT)
commitffbe61bb117eb8bc4ef7ab0397f061d40877baff (patch)
treed4de86bfbe5246cf92313930a77307ab265d6749 /Source/CTest
parenta6b053ecb92c0652e4cf30eb87add142537eeb03 (diff)
downloadCMake-ffbe61bb117eb8bc4ef7ab0397f061d40877baff.zip
CMake-ffbe61bb117eb8bc4ef7ab0397f061d40877baff.tar.gz
CMake-ffbe61bb117eb8bc4ef7ab0397f061d40877baff.tar.bz2
ENH: make sure english is used for output of gcov
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index a3a9c8f..121b25f 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);