diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2017-11-14 21:42:32 (GMT) |
---|---|---|
committer | Justin Goshi <jgoshi@microsoft.com> | 2017-11-17 17:19:26 (GMT) |
commit | fe2c2b0ffb567ca7d51036c69845091f70736a50 (patch) | |
tree | 4a61f5a8062b3e737bd8bea228b5309cb60148f4 /Source/cmMakefile.h | |
parent | d23a0c4d0e35d50f8f3f1a950a68df576294a77a (diff) | |
download | CMake-fe2c2b0ffb567ca7d51036c69845091f70736a50.zip CMake-fe2c2b0ffb567ca7d51036c69845091f70736a50.tar.gz CMake-fe2c2b0ffb567ca7d51036c69845091f70736a50.tar.bz2 |
server: ctestInfo fix to return all tests
Prior to this change we were looking at targets. But tests are
associated with directories. This change fixes how we gather all tests.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 6867c02..bf97975 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -617,11 +617,6 @@ public: cmGlobalGenerator* GetGlobalGenerator() const; /** - * Get all the test names this makefile knows about - */ - void GetTestNames(std::vector<std::string>& testNames); - - /** * Get all the source files this makefile knows about */ const std::vector<cmSourceFile*>& GetSourceFiles() const @@ -644,6 +639,11 @@ public: cmTest* GetTest(const std::string& testName) const; /** + * Get all tests that run under the given configuration. + */ + void GetTests(const std::string& config, std::vector<cmTest*>& tests); + + /** * Return a location of a file in cmake or custom modules directory */ std::string GetModulesFile(const char* name) const; |