summaryrefslogtreecommitdiff
path: root/vendor/bandit/bandit/runner.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/bandit/bandit/runner.h')
-rw-r--r--vendor/bandit/bandit/runner.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/bandit/bandit/runner.h b/vendor/bandit/bandit/runner.h
index 5df11005..1f8dcd11 100644
--- a/vendor/bandit/bandit/runner.h
+++ b/vendor/bandit/bandit/runner.h
@@ -7,7 +7,7 @@ namespace bandit {
inline run_policy_ptr create_run_policy(const options& opt)
{
- return run_policy_ptr(new bandit_run_policy(opt.skip(), opt.only()));
+ return run_policy_ptr(new bandit_run_policy(opt.skip(), opt.only(), opt.break_on_failure()));
}
inline listener_ptr create_reporter(const options& opt,
@@ -25,6 +25,11 @@ namespace bandit {
return std::unique_ptr<detail::listener>(new xunit_reporter(*formatter));
}
+ if(name == "info")
+ {
+ return std::unique_ptr<detail::listener>(new info_reporter(*formatter, colorizer));
+ }
+
if(name == "spec")
{
return std::unique_ptr<detail::listener>(new spec_reporter(*formatter, colorizer));