struct wl_buffer *wl_buf = nullptr;
td = tbm_sync_timeline_create();
- FAIL_NE_GOTO(td, -1, fini);
+ if (td == -1) {
+ ASSERT_EQ(td, -1);
+ printf("do not support sync\n");
+ goto fini;
+ }
tbm_surf = tbm_surface_create(100, 200, TBM_FORMAT_ARGB8888);
FAIL_NE_GOTO(tbm_surf, nullptr, fini);
struct wl_buffer *wl_buf = nullptr;
td = tbm_sync_timeline_create();
- FAIL_NE_GOTO(td, -1, fini);
+ if (td == -1) {
+ ASSERT_EQ(td, -1);
+ printf("do not support sync\n");
+ goto fini;
+ }
tbm_surf = tbm_surface_create(100, 200, TBM_FORMAT_ARGB8888);
FAIL_NE_GOTO(tbm_surf, nullptr, fini);
int cnt = 0, ret;
td = tbm_sync_timeline_create();
- FAIL_NE_GOTO(td, -1, fini);
+ if (td == -1) {
+ ASSERT_EQ(td, -1);
+ printf("do not support sync\n");
+ goto fini;
+ }
tbm_surf = tbm_surface_create(100, 200, TBM_FORMAT_ARGB8888);
FAIL_NE_GOTO(tbm_surf, nullptr, fini);