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:
Chris Michael 2020-01-21 13:04:06 -05:00
parent 0049155c1a
commit aeb2b506fd
1 changed files with 5 additions and 6 deletions

View File

@ -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);
}
}
}