Skip to content

Commit 556029c

Browse files
Merge pull request #7485 from peterschrammel/solver-stats-stop-on-fail
Output solver stats on --stop-on-fail
2 parents f76d7fa + 04b527c commit 556029c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

regression/solver-hardness/solver-hardness-simple/test.desc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
CORE
22
main.c
3-
--write-solver-stats-to 'solver_hardness.json'
3+
--write-solver-stats-to 'solver_hardness.json' --stop-on-fail
44
^EXIT=10$
55
^SIGNAL=0$
6-
^\[main.assertion.\d+\] line \d+ assertion a \+ b \< 10: FAILURE$
76
^VERIFICATION FAILED$
87
\"SAT_hardness\":\{(\"ClauseSet\":\[.*\]|\"Clauses\":\d+|\"Variables\":\d+|\"Literals\":\d+),(\"ClauseSet\":\[.*\]|\"Clauses\":\d+|\"Variables\":\d+|\"Literals\":\d+),(\"ClauseSet\":\[.*\]|\"Clauses\":\d+|\"Variables\":\d+|\"Literals\":\d+),(\"ClauseSet\":\[.*\]|\"Clauses\":\d+|\"Variables\":\d+|\"Literals\":\d+)\}
98
--

src/goto-checker/stop_on_fail_verifier.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class stop_on_fail_verifiert : public goto_verifiert
7171
report_error(ui_message_handler);
7272
break;
7373
}
74+
incremental_goto_checker.report();
7475
}
7576

7677
protected:

0 commit comments

Comments
 (0)