File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,17 @@ void bmc_all_propertiest::report(const cover_goalst &cover_goals)
159
159
result () << " \n ** Results:" << eom;
160
160
161
161
for (const auto &goal_pair : goal_map)
162
+ {
162
163
result () << " [" << goal_pair.first << " ] "
163
- << goal_pair.second .description << " : "
164
- << goal_pair.second .status_string ()
165
- << eom;
164
+ << goal_pair.second .description << " : " ;
165
+
166
+ if (goal_pair.second .status == goalt::statust::SUCCESS)
167
+ result () << green ();
168
+ else
169
+ result () << red ();
170
+
171
+ result () << goal_pair.second .status_string () << reset () << eom;
172
+ }
166
173
167
174
if (bmc.options .get_bool_option (" trace" ))
168
175
{
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ bmct::run_decision_procedure(prop_convt &prop_conv)
153
153
154
154
void bmct::report_success ()
155
155
{
156
- result () << " VERIFICATION SUCCESSFUL" << eom;
156
+ result () << bold () << " VERIFICATION SUCCESSFUL" << reset () << eom;
157
157
158
158
switch (ui_message_handler.get_ui ())
159
159
{
@@ -180,7 +180,7 @@ void bmct::report_success()
180
180
181
181
void bmct::report_failure ()
182
182
{
183
- result () << " VERIFICATION FAILED" << eom;
183
+ result () << bold () << " VERIFICATION FAILED" << reset () << eom;
184
184
185
185
switch (ui_message_handler.get_ui ())
186
186
{
You can’t perform that action at this time.
0 commit comments