diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2017-11-14 13:42:32 -0800 |
---|---|---|
committer | Justin Goshi <jgoshi@microsoft.com> | 2017-11-17 09:19:26 -0800 |
commit | fe2c2b0ffb567ca7d51036c69845091f70736a50 (patch) | |
tree | 4a61f5a8062b3e737bd8bea228b5309cb60148f4 /Source/cmTestGenerator.cxx | |
parent | d23a0c4d0e35d50f8f3f1a950a68df576294a77a (diff) | |
download | cmake-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.cxx')
-rw-r--r-- | Source/cmTestGenerator.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx index 78ca6bca34..b5483593eb 100644 --- a/Source/cmTestGenerator.cxx +++ b/Source/cmTestGenerator.cxx @@ -34,6 +34,16 @@ void cmTestGenerator::Compute(cmLocalGenerator* lg) this->LG = lg; } +bool cmTestGenerator::TestsForConfig(const std::string& config) +{ + return this->GeneratesForConfig(config); +} + +cmTest* cmTestGenerator::GetTest() const +{ + return this->Test; +} + void cmTestGenerator::GenerateScriptConfigs(std::ostream& os, Indent indent) { // Create the tests. |