| 9088 | const int MaxExitCode = 255; |
| 9089 | |
| 9090 | IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) { |
| 9091 | auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config); |
| 9092 | CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'"); |
| 9093 | |
| 9094 | return reporter; |
| 9095 | } |
| 9096 | |
| 9097 | #ifndef CATCH_CONFIG_DEFAULT_REPORTER |
| 9098 | #define CATCH_CONFIG_DEFAULT_REPORTER "console" |