update coloring in fbar for empty tests that have run

This commit is contained in:
Lephenixnoir 2021-05-20 09:31:32 +02:00
parent d93b77724f
commit 82bf04c67f
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 3 additions and 3 deletions

View File

@ -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)