mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-09 23:59:53 -05:00
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:
committed by
Brad King
parent
d63609ed2a
commit
9c4984b4e5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user