summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestStartCommand.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/cmCTestStartCommand.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/cmCTestStartCommand.cxx')
-rw-r--r--Source/CTest/cmCTestStartCommand.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestStartCommand.cxx b/Source/CTest/cmCTestStartCommand.cxx
index aa77c75..30aff0b 100644
--- a/Source/CTest/cmCTestStartCommand.cxx
+++ b/Source/CTest/cmCTestStartCommand.cxx
@@ -77,8 +77,10 @@ bool cmCTestStartCommand::InitialPass(
return false;
}
this->CTest->EmptyCTestConfiguration();
- this->CTest->SetCTestConfiguration("SourceDirectory", src_dir);
- this->CTest->SetCTestConfiguration("BuildDirectory", bld_dir);
+ this->CTest->SetCTestConfiguration("SourceDirectory",
+ cmSystemTools::CollapseFullPath(src_dir).c_str());
+ this->CTest->SetCTestConfiguration("BuildDirectory",
+ cmSystemTools::CollapseFullPath(bld_dir).c_str());
cmCTestLog(this->CTest, HANDLER_OUTPUT, "Run dashboard with model "
<< smodel << std::endl