summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildAndTestHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-21 12:53:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-21 12:54:06 (GMT)
commiteadaf0c8c3b4112d38a19b20a9d303e83640373d (patch)
treec87f87389c3ff585b042e5f0f45a4c15ea2609ac /Source/CTest/cmCTestBuildAndTestHandler.cxx
parent1fba410ecf168ab4af500943608a5fb4fad5dc06 (diff)
parent264bdac185f85e0508982df1b6efd7c3b8a1d1a4 (diff)
downloadCMake-eadaf0c8c3b4112d38a19b20a9d303e83640373d.zip
CMake-eadaf0c8c3b4112d38a19b20a9d303e83640373d.tar.gz
CMake-eadaf0c8c3b4112d38a19b20a9d303e83640373d.tar.bz2
Merge topic 'cmake-role-fix'
264bdac185 CMAKE_ROLE: Fix value for ctest --build-and-test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2820
Diffstat (limited to 'Source/CTest/cmCTestBuildAndTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index 6496af8..312d126 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -164,7 +164,7 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
return 1;
}
- cmake cm(cmake::RoleProject, cmState::CTest);
+ cmake cm(cmake::RoleProject, cmState::Project);
cm.SetHomeDirectory("");
cm.SetHomeOutputDirectory("");
std::string cmakeOutString;