diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-11 15:58:07 -0400 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-11 15:58:07 -0400 |
commit | 12cc89a8e5261ab08177f4f205b932ee50c26a18 (patch) | |
tree | fa2e38da36839a018794b229bf49c7b97fedba45 /Source/cmCTest.cxx | |
parent | 87ef95c71549a7aada8be6ed5d7f45f0aefc85ce (diff) | |
download | cmake-12cc89a8e5261ab08177f4f205b932ee50c26a18.tar.gz |
BUG: Try to fix the problem of bad test names
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 6ec234e424..22e0c1ecd2 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2056,8 +2056,11 @@ void cmCTest::PopulateCustomInteger(cmMakefile* mf, const char* def, int& val) std::string cmCTest::GetShortPathToFile(const char* cfname) { const std::string& sourceDir - = this->GetCTestConfiguration("SourceDirectory"); - const std::string& buildDir = this->GetCTestConfiguration("BuildDirectory"); + = cmSystemTools::CollapseFullPath( + this->GetCTestConfiguration("SourceDirectory")); + const std::string& buildDir + = cmSystemTools::CollapseFullPath( + this->GetCTestConfiguration("BuildDirectory")); std::string fname = cmSystemTools::CollapseFullPath(cfname); // Find relative paths to both directories |