forked from enlightenment/efl
* src/bin/evil_suite.c:
do not access to undefined pointer SVN revision: 38128
This commit is contained in:
parent
e4978aeae2
commit
93bded8fd2
|
@ -1,3 +1,8 @@
|
|||
2008-12-13 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/bin/evil_suite.c:
|
||||
do not access to undefined pointer
|
||||
|
||||
2008-12-13 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/bin/test_dlfcn.c:
|
||||
|
|
|
@ -151,17 +151,17 @@ suite_run(suite *s)
|
|||
t = (test *)l->data;
|
||||
l->succeed = t->fct(s);
|
||||
printf("%s test: %s\n", t->name, l->succeed ? "success" : "failure");
|
||||
l = l->next;
|
||||
s->tests_count++;
|
||||
if (l->succeed)
|
||||
s->tests_success++;
|
||||
l = l->next;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
suite_show(suite *s)
|
||||
{
|
||||
printf ("%d/%d tests passed (%d%%)\n",
|
||||
printf ("\n%d/%d tests passed (%d%%)\n",
|
||||
s->tests_success,
|
||||
s->tests_count,
|
||||
(100 * s->tests_success) / s->tests_count);
|
||||
|
|
Loading…
Reference in New Issue