diff options
Diffstat (limited to 'Source/CTest/cmCTestStartCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestStartCommand.cxx | 6 |
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 |