summaryrefslogtreecommitdiff
path: root/src/tests/ecore_wl2/ecore_wl2_test_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ecore_wl2/ecore_wl2_test_display.c')
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_display.c b/src/tests/ecore_wl2/ecore_wl2_test_display.c
index a04f2a58eb..5327347c08 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_display.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_display.c
@@ -107,6 +107,7 @@ ecore_wl2_test_display(TCase *tc)
107 if (!getenv("WAYLAND_DISPLAY")) 107 if (!getenv("WAYLAND_DISPLAY"))
108 { 108 {
109 /* tests here are for server-side functions */ 109 /* tests here are for server-side functions */
110 printf("No Wayland Compositor detected. Testing server-side functions\n");
110 tcase_add_test(tc, wl2_display_create); 111 tcase_add_test(tc, wl2_display_create);
111 tcase_add_test(tc, wl2_display_destroy); 112 tcase_add_test(tc, wl2_display_destroy);
112 tcase_add_test(tc, wl2_display_get); 113 tcase_add_test(tc, wl2_display_get);
@@ -116,6 +117,7 @@ ecore_wl2_test_display(TCase *tc)
116 if (getenv("WAYLAND_DISPLAY")) 117 if (getenv("WAYLAND_DISPLAY"))
117 { 118 {
118 /* tests here are for client-side functions */ 119 /* tests here are for client-side functions */
120 printf("Wayland Compositor detected. Testing client-side functions\n");
119 tcase_add_test(tc, wl2_display_connect); 121 tcase_add_test(tc, wl2_display_connect);
120 tcase_add_test(tc, wl2_display_disconnect); 122 tcase_add_test(tc, wl2_display_disconnect);
121 tcase_add_test(tc, wl2_display_shm_get); 123 tcase_add_test(tc, wl2_display_shm_get);