tests/ecore_wl2: Fix issue of tests running without a Wayland display
This fixes an issue with CI where these tests would try to run without a Wayland compositor. This was missed during review, Thanks Marcel for pointing this out. ref T8016
This commit is contained in:
parent
0049155c1a
commit
aeb2b506fd
|
@ -311,11 +311,10 @@ ecore_wl2_test_display(TCase *tc)
|
|||
tcase_add_test(tc, wl2_display_input_find);
|
||||
tcase_add_test(tc, wl2_display_flush);
|
||||
tcase_add_test(tc, wl2_display_sync_is_done);
|
||||
}
|
||||
|
||||
if (!getenv("E_START"))
|
||||
{
|
||||
tcase_add_test(tc, wl2_display_dmabuf_get);
|
||||
tcase_add_test(tc, wl2_display_screen_size_get);
|
||||
if (!getenv("E_START"))
|
||||
{
|
||||
tcase_add_test(tc, wl2_display_dmabuf_get);
|
||||
tcase_add_test(tc, wl2_display_screen_size_get);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue