Some of target even arch this API (ecore_wl2_window_render_sync_fd_create) is not work.
So just check it calls well in Test case.
Change-Id: I32e7b1bbb7e4c14b5cfd07b2e06174d62ed0d0ef
}
fd = ecore_wl2_window_render_sync_fd_create(win, ECORE_WL2_WINDOW_RENDER_SYNC_COMMIT);
- if (fd == -1)
- {
- ck_abort_msg("[TEST_FAIL:: %s[%d] : Test has failed (The returned value is wrong)", __FILE__, __LINE__);
- goto quit_main_loop;
- }
- close(fd);
+ if (fd != -1) close(fd);
quit_main_loop:
if (egl_surface) eglDestroySurface(egl_disp, egl_surface);