| 34 | } |
| 35 | |
| 36 | cmValue cmTest::GetProperty(std::string const& prop) const |
| 37 | { |
| 38 | cmValue retVal = this->Properties.GetPropertyValue(prop); |
| 39 | if (!retVal) { |
| 40 | bool const chain = |
| 41 | this->Makefile->GetState()->IsPropertyChained(prop, cmProperty::TEST); |
| 42 | if (chain) { |
| 43 | if (cmValue p = this->Makefile->GetProperty(prop, chain)) { |
| 44 | return p; |
| 45 | } |
| 46 | } |
| 47 | return nullptr; |
| 48 | } |
| 49 | return retVal; |
| 50 | } |
| 51 | |
| 52 | bool cmTest::GetPropertyAsBool(std::string const& prop) const |
| 53 | { |
no test coverage detected