git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/expedite@42836
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Evas *evas = NULL;
int win_w = 720, win_h = 420;
+int loops = LOOPS;
static char *datadir = NULL;
static int go = 1;
return 0;
}
}
+ else if ((!strcmp(argv[i], "-c")) && (i < (argc - 1)))
+ {
+ i++;
+ loops = atoi(argv[i]);
+ }
}
return 1;
}
"Options:\n"
" -datadir path/to/data\n"
" -a (autorun all tests)\n"
+ " -c NUM (loop count for test)\n"
" -l (list tests)\n"
" -t TEST-NUM\n"
" -e ENGINE\n"
extern Evas *evas;
extern int win_w, win_h;
+extern int loops;
void srnd(void);
unsigned int rnd(void);
}
#define FPS_STD(x) \
- if ((f >= LOOPS) && (!done)) \
+ if ((f >= loops) && (!done)) \
{ \
double fps; \
fps = (double)f / t; \