If temporary Network connection is failure happen, this tc try one more.
It will show test failure if the tc fail happen for the second working time.
Change-Id: Ie2095155056bab9e8182de8f9cf96f70330e4213
static Evas_Object *main_win = NULL;
static Evas_Object *map = NULL;
Elm_Map_Route *route = NULL;
+static int repeat_count2 = 0;
static void _route_loaded_fail(void* data, Evas_Object* obj, void* event_info)
{
static void
setup(void)
{
+ ll: ;
Eina_Bool load_success = EINA_FALSE;
printf(" ============ Startup ============ \n");
elm_run();
if (load_success == EINA_FALSE)
{
+ if(repeat_count2 == 0)
+ {
+ repeat_count2++;
+ goto ll;
+ }
ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to load route..", __FILE__, __LINE__);
}
}