| 128 | } |
| 129 | |
| 130 | void cmCTestBuildCommand::ProcessAdditionalValues( |
| 131 | cmCTestGenericHandler* generic, HandlerArguments const& arguments, |
| 132 | cmExecutionStatus& status) const |
| 133 | { |
| 134 | cmMakefile& mf = status.GetMakefile(); |
| 135 | auto const& args = static_cast<BuildArguments const&>(arguments); |
| 136 | auto const* handler = static_cast<cmCTestBuildHandler*>(generic); |
| 137 | if (!args.NumberErrors.empty()) { |
| 138 | mf.AddDefinition(args.NumberErrors, |
| 139 | std::to_string(handler->GetTotalErrors())); |
| 140 | } |
| 141 | if (!args.NumberWarnings.empty()) { |
| 142 | mf.AddDefinition(args.NumberWarnings, |
| 143 | std::to_string(handler->GetTotalWarnings())); |
| 144 | } |
| 145 | } |
nothing calls this directly
no test coverage detected