ERR: Fix coverage on gcc 2.95

This commit is contained in:
Andy Cedilnik 2003-12-15 18:44:33 -05:00
parent d9658c15bc
commit 6e5eddb917
1 changed files with 3 additions and 2 deletions

View File

@ -1262,8 +1262,9 @@ int cmCTest::CoverageDirectory()
for ( cc = 0; cc < files.size(); cc ++ ) for ( cc = 0; cc < files.size(); cc ++ )
{ {
std::string command = coverageCommand + " -o \"" + files[cc] + "\""; std::string command = coverageCommand + " -o \"" +
command += " -l \"" + files[cc] + "\""; cmSystemTools::GetFilenamePath(files[cc]) +
"\" -l \"" + files[cc] + "\"";
std::string output; std::string output;
int retVal = 0; int retVal = 0;
//std::cout << "Run gcov on " << files[cc] << std::flush; //std::cout << "Run gcov on " << files[cc] << std::flush;