summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-18 15:21:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-08-18 15:21:58 (GMT)
commitcb578878093473ef1cb3d2e71791d67a410d4184 (patch)
tree0fbd75a4b8e1edc82e8787a2d0b2a601f83fd7ff /Source/CTest
parente7dda7b9b7373dc823977766d0947a4ca28845cd (diff)
parent6d66e396a1b534e7f13a8e4be83820c5a06d0265 (diff)
downloadCMake-cb578878093473ef1cb3d2e71791d67a410d4184.zip
CMake-cb578878093473ef1cb3d2e71791d67a410d4184.tar.gz
CMake-cb578878093473ef1cb3d2e71791d67a410d4184.tar.bz2
Merge topic 'fix_mumps_file_parser'
6d66e396 CTEST: Fix MUMPS file parser and update test
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmParseMumpsCoverage.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/CTest/cmParseMumpsCoverage.cxx b/Source/CTest/cmParseMumpsCoverage.cxx
index 6236211..225e704 100644
--- a/Source/CTest/cmParseMumpsCoverage.cxx
+++ b/Source/CTest/cmParseMumpsCoverage.cxx
@@ -96,11 +96,13 @@ void cmParseMumpsCoverage::InitializeMumpsFile(std::string& file)
}
if(found)
{
- // (2) If the first character found above is whitespace then continue the
- // search for the first following non-whitespace character.
+ // (2) If the first character found above is whitespace or a period
+ // then continue the search for the first following non-whitespace
+ // character.
if(line[i] == ' ' || line[i] == '\t')
{
- while(i < line.size() && (line[i] == ' ' || line[i] == '\t'))
+ while(i < line.size() && (line[i] == ' ' || line[i] == '\t'
+ || line[i] == '.'))
{
i++;
}