efl/src/tests/efreet/compare/efreet_alloc.c

31 lines
511 B
C

#include <Efreet.h>
#include <stdio.h>
#include <stdlib.h>
#include "comp.h"
int
main(void)
{
int i = 0, k, errs = 0;
const char *path;
efreet_init();
for (k = 0; k < LOOPS; k++)
{
for (i = 0; icons[i]; i++)
{
path = efreet_icon_path_find(THEME, icons[i], SIZE);
if (!path)
{
printf("%s: NOT FOUND\n", icons[i]);
errs++;
}
}
}
efreet_shutdown();
return errs > 0;
}