summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorJustin Goshi <jgoshi@microsoft.com>2017-10-25 22:00:15 (GMT)
committerJustin Goshi <jgoshi@microsoft.com>2017-11-03 16:39:01 (GMT)
commit35a52bd1b4d0350d3c7e94611dd90ddb4b123352 (patch)
tree9b87b1f35934532109e1b34be528cc810e66b1a2 /Source/cmMakefile.cxx
parent206354ac4c2b0e245cc02f3c9f8b82990f829ee8 (diff)
downloadCMake-35a52bd1b4d0350d3c7e94611dd90ddb4b123352.zip
CMake-35a52bd1b4d0350d3c7e94611dd90ddb4b123352.tar.gz
CMake-35a52bd1b4d0350d3c7e94611dd90ddb4b123352.tar.bz2
server: add "ctestInfo" request to get test info
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index b2641d2..90e0a0d 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3282,6 +3282,13 @@ cmGlobalGenerator* cmMakefile::GetGlobalGenerator() const
return this->GlobalGenerator;
}
+void cmMakefile::GetTestNames(std::vector<std::string>& testNames)
+{
+ for (const auto& iter : Tests) {
+ testNames.push_back(iter.first);
+ }
+}
+
#ifdef CMAKE_BUILD_WITH_CMAKE
cmVariableWatch* cmMakefile::GetVariableWatch() const
{