| 186 | } |
| 187 | |
| 188 | void cmCTestBuildHandler::PopulateCustomVectors(cmMakefile* mf) |
| 189 | { |
| 190 | this->CTest->PopulateCustomVector(mf, "CTEST_CUSTOM_ERROR_MATCH", |
| 191 | this->CustomErrorMatches); |
| 192 | this->CTest->PopulateCustomVector(mf, "CTEST_CUSTOM_ERROR_EXCEPTION", |
| 193 | this->CustomErrorExceptions); |
| 194 | this->CTest->PopulateCustomVector(mf, "CTEST_CUSTOM_WARNING_MATCH", |
| 195 | this->CustomWarningMatches); |
| 196 | this->CTest->PopulateCustomVector(mf, "CTEST_CUSTOM_WARNING_EXCEPTION", |
| 197 | this->CustomWarningExceptions); |
| 198 | this->CTest->PopulateCustomInteger( |
| 199 | mf, "CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS", this->MaxErrors); |
| 200 | this->CTest->PopulateCustomInteger( |
| 201 | mf, "CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS", this->MaxWarnings); |
| 202 | |
| 203 | int n = -1; |
| 204 | this->CTest->PopulateCustomInteger(mf, "CTEST_CUSTOM_ERROR_PRE_CONTEXT", n); |
| 205 | if (n != -1) { |
| 206 | this->MaxPreContext = static_cast<size_t>(n); |
| 207 | } |
| 208 | |
| 209 | n = -1; |
| 210 | this->CTest->PopulateCustomInteger(mf, "CTEST_CUSTOM_ERROR_POST_CONTEXT", n); |
| 211 | if (n != -1) { |
| 212 | this->MaxPostContext = static_cast<size_t>(n); |
| 213 | } |
| 214 | |
| 215 | // Record the user-specified custom warning rules. |
| 216 | if (cmValue customWarningMatchers = |
| 217 | mf->GetDefinition("CTEST_CUSTOM_WARNING_MATCH")) { |
| 218 | cmExpandList(*customWarningMatchers, this->ReallyCustomWarningMatches); |
| 219 | } |
| 220 | if (cmValue customWarningExceptions = |
| 221 | mf->GetDefinition("CTEST_CUSTOM_WARNING_EXCEPTION")) { |
| 222 | cmExpandList(*customWarningExceptions, |
| 223 | this->ReallyCustomWarningExceptions); |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | std::string cmCTestBuildHandler::GetMakeCommand() |
| 228 | { |
nothing calls this directly
no test coverage detected