tests/ecore_wl2: Add printf for compositor detection
authorChristopher Michael <cp.michael@samsung.com>
Mon, 15 Jul 2019 14:42:27 +0000 (10:42 -0400)
committerTaehyub Kim <taehyub.kim@samsung.com>
Wed, 17 Jul 2019 07:54:06 +0000 (16:54 +0900)
ref T8016

src/tests/ecore_wl2/ecore_wl2_test_display.c

index a04f2a5..5327347 100644 (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);