summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-11 19:58:07 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-11 19:58:07 (GMT)
commit12cc89a8e5261ab08177f4f205b932ee50c26a18 (patch)
treefa2e38da36839a018794b229bf49c7b97fedba45 /Source/CTest/cmCTestUpdateCommand.cxx
parent87ef95c71549a7aada8be6ed5d7f45f0aefc85ce (diff)
downloadCMake-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/cmCTestUpdateCommand.cxx')
-rw-r--r--Source/CTest/cmCTestUpdateCommand.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx
index 2c116c0..913478a 100644
--- a/Source/CTest/cmCTestUpdateCommand.cxx
+++ b/Source/CTest/cmCTestUpdateCommand.cxx
@@ -24,12 +24,14 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler()
if ( this->Values[ct_SOURCE] )
{
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());
}
std::string source_dir
= this->CTest->GetCTestConfiguration("SourceDirectory");