summaryrefslogtreecommitdiff
path: root/Source/cmTestGenerator.h
diff options
context:
space:
mode:
authorJustin Goshi <jgoshi@microsoft.com>2017-11-14 13:42:32 -0800
committerJustin Goshi <jgoshi@microsoft.com>2017-11-17 09:19:26 -0800
commitfe2c2b0ffb567ca7d51036c69845091f70736a50 (patch)
tree4a61f5a8062b3e737bd8bea228b5309cb60148f4 /Source/cmTestGenerator.h
parentd23a0c4d0e35d50f8f3f1a950a68df576294a77a (diff)
downloadcmake-fe2c2b0ffb567ca7d51036c69845091f70736a50.tar.gz
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/cmTestGenerator.h')
-rw-r--r--Source/cmTestGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTestGenerator.h b/Source/cmTestGenerator.h
index 1ca61c2106..73d05a3bb4 100644
--- a/Source/cmTestGenerator.h
+++ b/Source/cmTestGenerator.h
@@ -30,6 +30,11 @@ public:
void Compute(cmLocalGenerator* lg);
+ /** Test if this generator installs the test for a given configuration. */
+ bool TestsForConfig(const std::string& config);
+
+ cmTest* GetTest() const;
+
protected:
void GenerateScriptConfigs(std::ostream& os, Indent indent) override;
void GenerateScriptActions(std::ostream& os, Indent indent) override;