summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-07-15 10:42:27 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-07-15 11:01:34 -0400
commit9ef1ab7876c2baa4e447f299b528cd2f5436f2f3 (patch)
tree316a99833691964eec771da0ff9170fb88c02089
parent7618a6caf01cbcc168921a97be54cab88033c513 (diff)
tests/ecore_wl2: Add printf for compositor detection
ref T8016
-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);