diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-11 19:58:07 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-11 19:58:07 (GMT) |
commit | 12cc89a8e5261ab08177f4f205b932ee50c26a18 (patch) | |
tree | fa2e38da36839a018794b229bf49c7b97fedba45 /Source/CTest/cmCTestHandlerCommand.cxx | |
parent | 87ef95c71549a7aada8be6ed5d7f45f0aefc85ce (diff) | |
download | CMake-12cc89a8e5261ab08177f4f205b932ee50c26a18.zip CMake-12cc89a8e5261ab08177f4f205b932ee50c26a18.tar.gz CMake-12cc89a8e5261ab08177f4f205b932ee50c26a18.tar.bz2 |
BUG: Try to fix the problem of bad test names
Diffstat (limited to 'Source/CTest/cmCTestHandlerCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestHandlerCommand.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestHandlerCommand.cxx b/Source/CTest/cmCTestHandlerCommand.cxx index 09fd82a..2313569 100644 --- a/Source/CTest/cmCTestHandlerCommand.cxx +++ b/Source/CTest/cmCTestHandlerCommand.cxx @@ -58,24 +58,28 @@ bool cmCTestHandlerCommand::InitialPass( if ( this->Values[ct_BUILD] ) { this->CTest->SetCTestConfiguration("BuildDirectory", - this->Values[ct_BUILD]); + cmSystemTools::CollapseFullPath( + this->Values[ct_BUILD]).c_str()); } else { this->CTest->SetCTestConfiguration("BuildDirectory", - this->Makefile->GetDefinition("CTEST_BINARY_DIRECTORY")); + cmSystemTools::CollapseFullPath( + this->Makefile->GetDefinition("CTEST_BINARY_DIRECTORY")).c_str()); } if ( this->Values[ct_SOURCE] ) { cmCTestLog(this->CTest, DEBUG, "Set source directory to: " << this->Values[ct_SOURCE] << std::endl); this->CTest->SetCTestConfiguration("SourceDirectory", - this->Values[ct_SOURCE]); + cmSystemTools::CollapseFullPath( + this->Values[ct_SOURCE]).c_str()); } else { this->CTest->SetCTestConfiguration("SourceDirectory", - this->Makefile->GetDefinition("CTEST_SOURCE_DIRECTORY")); + cmSystemTools::CollapseFullPath( + this->Makefile->GetDefinition("CTEST_SOURCE_DIRECTORY")).c_str()); } if ( this->Values[ct_SUBMIT_INDEX] ) { |