tests/ecore_wl2: Add printf for compositor detection

ref T8016
This commit is contained in:
Christopher Michael 2019-07-15 10:42:27 -04:00
parent 7618a6caf0
commit 9ef1ab7876
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,7 @@ ecore_wl2_test_display(TCase *tc)
if (!getenv("WAYLAND_DISPLAY"))
{
/* tests here are for server-side functions */
printf("No Wayland Compositor detected. Testing server-side functions\n");
tcase_add_test(tc, wl2_display_create);
tcase_add_test(tc, wl2_display_destroy);
tcase_add_test(tc, wl2_display_get);
@ -116,6 +117,7 @@ ecore_wl2_test_display(TCase *tc)
if (getenv("WAYLAND_DISPLAY"))
{
/* tests here are for client-side functions */
printf("Wayland Compositor detected. Testing client-side functions\n");
tcase_add_test(tc, wl2_display_connect);
tcase_add_test(tc, wl2_display_disconnect);
tcase_add_test(tc, wl2_display_shm_get);