2011-01-16 11:07:19 -08:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "efreet_suite.h"
|
2016-02-04 05:42:13 -08:00
|
|
|
#include "../efl_check.h"
|
2011-01-16 11:07:19 -08:00
|
|
|
|
2016-02-04 05:42:13 -08:00
|
|
|
static const Efl_Test_Case etc[] = {
|
2011-01-16 11:07:19 -08:00
|
|
|
{ "Efreet", efreet_test_efreet },
|
|
|
|
{ "Efreet Cache", efreet_test_efreet_cache },
|
|
|
|
{ NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char **argv)
|
|
|
|
{
|
2016-02-04 05:42:13 -08:00
|
|
|
int failed_count;
|
2011-01-16 11:07:19 -08:00
|
|
|
|
2016-02-04 05:42:13 -08:00
|
|
|
if (!_efl_test_option_disp(argc, argv, etc))
|
|
|
|
return 0;
|
2011-01-16 11:07:19 -08:00
|
|
|
|
2017-02-03 05:49:38 -08:00
|
|
|
#ifdef NEED_RUN_IN_TREE
|
2013-01-04 09:19:43 -08:00
|
|
|
putenv("EFL_RUN_IN_TREE=1");
|
2017-02-03 05:49:38 -08:00
|
|
|
#endif
|
2013-01-04 09:19:43 -08:00
|
|
|
|
2016-02-04 05:42:13 -08:00
|
|
|
failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
|
|
|
|
"Efreet", etc);
|
2011-01-16 11:07:19 -08:00
|
|
|
|
|
|
|
return (failed_count == 0) ? 0 : 255;
|
|
|
|
}
|