mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-21 23:38:33 -05:00
Merge topic 'ctest-fix-relative-paths'
f98732bea8ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY5a1d5fd9bectest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10912
This commit is contained in:
@@ -115,11 +115,11 @@ bool cmCTestConfigureCommand::ExecuteConfigure(ConfigureArguments const& args,
|
||||
}
|
||||
|
||||
configureCommand += " \"-S";
|
||||
configureCommand += sourceDirectory;
|
||||
configureCommand += cmSystemTools::CollapseFullPath(sourceDirectory);
|
||||
configureCommand += "\"";
|
||||
|
||||
configureCommand += " \"-B";
|
||||
configureCommand += buildDirectory;
|
||||
configureCommand += cmSystemTools::CollapseFullPath(buildDirectory);
|
||||
configureCommand += "\"";
|
||||
}
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ bool cmCTestStartCommand::InitialPass(std::vector<std::string> const& args,
|
||||
this->CTest->SetCTestConfigurationFromCMakeVariable(
|
||||
&mf, "BuildName", "CTEST_BUILD_NAME", quiet);
|
||||
|
||||
this->CTest->Initialize(bld_dir);
|
||||
this->CTest->Initialize(binaryDir);
|
||||
|
||||
cmCTestOptionalLog(
|
||||
this->CTest, OUTPUT,
|
||||
|
||||
Reference in New Issue
Block a user