diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-21 17:34:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-21 17:34:55 (GMT) |
commit | 8ff4c079159a8c5a53017ff1b02c8ac591eb2727 (patch) | |
tree | ae43fbc9798b1bbe1b875313d1ad457c2318bd99 /Source/CTest/cmCTestBuildHandler.cxx | |
parent | 03be131c063f7d0b1ed566ddbc35e84d3b1d342f (diff) | |
download | CMake-8ff4c079159a8c5a53017ff1b02c8ac591eb2727.zip CMake-8ff4c079159a8c5a53017ff1b02c8ac591eb2727.tar.gz CMake-8ff4c079159a8c5a53017ff1b02c8ac591eb2727.tar.bz2 |
BUG: Handle remarks on SGI properly
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index 6cc4103..6835404 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -108,7 +108,7 @@ static const char* cmCTestWarningMatches[] = { ".*file: .* has no symbols", "([^ :]+):([0-9]+): Warning", "\\([0-9]*\\): remark #[0-9]*", - "\".*\", line [0-9]+: remark([0-9]):", + "\".*\", line [0-9]+: remark\\([0-9]*\\):", 0 }; @@ -307,10 +307,13 @@ int cmCTestBuildHandler::BuildDirectory(cmCTest *ctest_inst) { cmsys::RegularExpression re(m_CustomErrorMatches[cc].c_str()); std::vector<cmStdString>::size_type kk; + //cout << "error Line: " << m_CustomErrorMatches[cc] << endl; for ( kk = 0; kk < lines.size(); kk ++ ) { + //cout << " Line: " << lines[kk] << endl; if ( re.find(lines[kk]) ) { + //cout << "******************************" << endl; markedLines[kk] = 1; } } @@ -320,10 +323,13 @@ int cmCTestBuildHandler::BuildDirectory(cmCTest *ctest_inst) { cmsys::RegularExpression re(m_CustomWarningMatches[cc].c_str()); std::vector<cmStdString>::size_type kk; + //cout << "warning Line: " << m_CustomWarningMatches[cc] << endl; for ( kk = 0; kk < lines.size(); kk ++ ) { + //cout << " Line: " << lines[kk] << endl; if ( re.find(lines[kk]) ) { + //cout << "******************************" << endl; markedLines[kk] += 2; } } |