|
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>
|
@@ -560,7 +562,13 @@ int cbmc_parse_optionst::doit()
|
560 | 562 |
|
561 | 563 | if(!options.get_bool_option("paths") && !options.is_set("cover"))
|
562 | 564 | {
|
563 |
| - if(!options.get_bool_option("stop-on-fail")) |
| 565 | + if(options.get_bool_option("stop-on-fail")) |
| 566 | + { |
| 567 | + verifier = |
| 568 | + util_make_unique<stop_on_fail_verifiert<multi_path_symex_checkert>>( |
| 569 | + options, ui_message_handler, goto_model); |
| 570 | + } |
| 571 | + else |
564 | 572 | {
|
565 | 573 | verifier = util_make_unique<
|
566 | 574 | all_properties_verifier_with_trace_storaget<multi_path_symex_checkert>>(
|
|
0 commit comments