diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-03-18 21:25:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-20 15:39:14 (GMT) |
commit | b172a81d5512a2f0973dae6d5545b159e5b1ec2b (patch) | |
tree | b035bb75e4ac6c2ad13663a2b8ba514cecc4ea5e /Source/CTest/cmCTestTestCommand.cxx | |
parent | 46090c2337f9d867b8662247f0033f002742d42b (diff) | |
download | CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.zip CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.tar.gz CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.tar.bz2 |
cmCTest: Use concrete accessor functions for TestingHandlers
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestTestCommand.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestCommand.cxx b/Source/CTest/cmCTestTestCommand.cxx index 895ca12..cfd5e3d 100644 --- a/Source/CTest/cmCTestTestCommand.cxx +++ b/Source/CTest/cmCTestTestCommand.cxx @@ -4,6 +4,7 @@ #include "cmCTest.h" #include "cmCTestGenericHandler.h" +#include "cmCTestTestHandler.h" #include "cmDuration.h" #include "cmMakefile.h" #include "cmSystemTools.h" @@ -140,5 +141,7 @@ cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler() cmCTestGenericHandler* cmCTestTestCommand::InitializeActualHandler() { - return this->CTest->GetInitializedHandler("test"); + cmCTestTestHandler* handler = this->CTest->GetTestHandler(); + handler->Initialize(); + return handler; } |