ctest_coverage: Fix error message to report the file name

Print file name instead of line content for "Looks like there are more
lines in the file:" error message.
This commit is contained in:
Vladislav Vinogradov 2014-12-22 10:24:31 +03:00 committed by Brad King
parent d63609ed2a
commit 9c4984b4e5
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ int cmCTestCoverageHandler::ProcessHandler()
if ( cmSystemTools::GetLineFromStream(ifs, line) )
{
cmOStringStream ostr;
ostr << "Looks like there are more lines in the file: " << line;
ostr << "Looks like there are more lines in the file: " << fullFileName;
errorsWhileAccumulating.push_back(ostr.str());
}
float cper = 0;