update coloring in fbar for empty tests that have run
This commit is contained in:
parent
d93b77724f
commit
82bf04c67f
|
@ -63,9 +63,9 @@ static void stats_add_test(struct stats *st, ft_test *t)
|
|||
st->skipped += t->skipped;
|
||||
st->failed += t->failed;
|
||||
|
||||
if(!t->function) st->empty++;
|
||||
else if(t->passed + t->skipped + t->failed == 0) st->pending++;
|
||||
else st->done++;
|
||||
if(t->function && !t->run) st->pending++;
|
||||
else if(t->passed + t->skipped + t->failed) st->done++;
|
||||
else st->empty++;
|
||||
}
|
||||
|
||||
static void stats_add_list(struct stats *st, ft_list *l)
|
||||
|
|
Loading…
Reference in New Issue