|
20 | 20 | #include <util/exception_utils.h>
|
21 | 21 | #include <util/exit_codes.h>
|
22 | 22 | #include <util/invariant.h>
|
| 23 | +#include <util/make_unique.h> |
23 | 24 | #include <util/unicode.h>
|
24 | 25 | #include <util/version.h>
|
25 | 26 |
|
|
36 | 37 | #include <goto-checker/multi_path_symex_checker.h>
|
37 | 38 | #include <goto-checker/multi_path_symex_only_checker.h>
|
38 | 39 | #include <goto-checker/properties.h>
|
| 40 | +#include <goto-checker/stop_on_fail_verifier.h> |
39 | 41 |
|
40 | 42 | #include <goto-programs/adjust_float_expressions.h>
|
41 | 43 | #include <goto-programs/initialize_goto_model.h>
|
@@ -575,7 +577,13 @@ int cbmc_parse_optionst::doit()
|
575 | 577 |
|
576 | 578 | if(!options.get_bool_option("paths") && !options.is_set("cover"))
|
577 | 579 | {
|
578 |
| - if(!options.get_bool_option("stop-on-fail")) |
| 580 | + if(options.get_bool_option("stop-on-fail")) |
| 581 | + { |
| 582 | + verifier = |
| 583 | + util_make_unique<stop_on_fail_verifiert<multi_path_symex_checkert>>( |
| 584 | + options, ui_message_handler, goto_model); |
| 585 | + } |
| 586 | + else |
579 | 587 | {
|
580 | 588 | verifier = util_make_unique<
|
581 | 589 | all_properties_verifier_with_trace_storaget<multi_path_symex_checkert>>(
|
|
0 commit comments