EFL 1.7 svn doobies
[profile/ivi/efreet.git] / src / tests / compare / efreet_alloc.c
1 #include <Efreet.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include "comp.h"
5
6 int
7 main(void)
8 {
9    int i = 0, k, errs = 0;
10     const char *path;
11
12     efreet_init();
13
14     for (k = 0; k < LOOPS; k++)
15     {
16         for (i = 0; icons[i]; i++)
17         {
18             path = efreet_icon_path_find(THEME, icons[i], SIZE);
19             if (!path)
20               {
21                  printf("%s: NOT FOUND\n", icons[i]);
22                  errs++;
23               }
24         }
25     }
26
27     efreet_shutdown();
28
29     return errs > 0;
30 }