File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -238,3 +238,24 @@ void output_properties(
238238 }
239239 }
240240}
241+
242+ void output_overall_result (
243+ resultt result,
244+ ui_message_handlert &ui_message_handler)
245+ {
246+ switch (result)
247+ {
248+ case resultt::PASS:
249+ report_success (ui_message_handler);
250+ break ;
251+ case resultt::FAIL:
252+ report_failure (ui_message_handler);
253+ break ;
254+ case resultt::UNKNOWN:
255+ report_inconclusive (ui_message_handler);
256+ break ;
257+ case resultt::ERROR:
258+ report_error (ui_message_handler);
259+ break ;
260+ }
261+ }
Original file line number Diff line number Diff line change @@ -25,4 +25,8 @@ void output_properties(
2525 const propertiest &properties,
2626 ui_message_handlert &ui_message_handler);
2727
28+ void output_overall_result (
29+ resultt result,
30+ ui_message_handlert &ui_message_handler);
31+
2832#endif // CPROVER_GOTO_CHECKER_REPORT_UTIL_H
You can’t perform that action at this time.
0 commit comments