diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-15 23:44:33 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-15 23:44:33 (GMT) |
commit | 6e5eddb917bb73510e76d8aa0b06306a658990dd (patch) | |
tree | b700ddac9988b4fa4f92a5aa22ebf55a70338d04 | |
parent | d9658c15bc3682128618402b909ee9e618c3db07 (diff) | |
download | CMake-6e5eddb917bb73510e76d8aa0b06306a658990dd.zip CMake-6e5eddb917bb73510e76d8aa0b06306a658990dd.tar.gz CMake-6e5eddb917bb73510e76d8aa0b06306a658990dd.tar.bz2 |
ERR: Fix coverage on gcc 2.95
-rw-r--r-- | Source/cmCTest.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 573e6ea..124e8be 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1262,8 +1262,9 @@ int cmCTest::CoverageDirectory() for ( cc = 0; cc < files.size(); cc ++ ) { - std::string command = coverageCommand + " -o \"" + files[cc] + "\""; - command += " -l \"" + files[cc] + "\""; + std::string command = coverageCommand + " -o \"" + + cmSystemTools::GetFilenamePath(files[cc]) + + "\" -l \"" + files[cc] + "\""; std::string output; int retVal = 0; //std::cout << "Run gcov on " << files[cc] << std::flush; |