diff options
author | Vladislav Vinogradov <vlad.vinogradov47@gmail.com> | 2014-12-22 07:24:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-22 14:25:24 (GMT) |
commit | 9c4984b4e50b3ab9c09349240c532957c3189116 (patch) | |
tree | 8a5581f841b507aa68be3b4519e56f17948dfddc /Source | |
parent | d63609ed2a5f707b0e72adef2a1804cae611caa9 (diff) | |
download | CMake-9c4984b4e50b3ab9c09349240c532957c3189116.zip CMake-9c4984b4e50b3ab9c09349240c532957c3189116.tar.gz CMake-9c4984b4e50b3ab9c09349240c532957c3189116.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index e782886..a1d770b 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -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; |