Evas text: fix test with Oriya script
authorDaniel Hirt <hirt.danny@gmail.com>
Mon, 19 Jun 2017 06:49:19 +0000 (09:49 +0300)
committerDaniel Hirt <hirt.danny@gmail.com>
Mon, 19 Jun 2017 07:15:05 +0000 (10:15 +0300)
We are not providing a font to test that specific script.
Commenting-out this test until we can find one with proper license.
This fixes the test suite fail case.

@fix

src/tests/evas/evas_test_text.c

index a7c3242..951e4c2 100644 (file)
@@ -150,11 +150,12 @@ START_TEST(evas_text_geometries)
    ck_assert_int_lt(w, adv);
 
 #ifdef HAVE_HARFBUZZ
-   /* Obviously, adv < width case */
-   evas_object_text_text_set(to, "ନୂଁ");
-   adv = evas_object_text_horiz_advance_get(to);
-   evas_object_geometry_get(to, NULL, NULL, &w, NULL);
-   ck_assert_int_lt(adv, w);
+   // FIXME: missing a font for Oriya script in our test suite
+   ///* Obviously, adv < width case */
+   //evas_object_text_text_set(to, "ନୂଁ");
+   //adv = evas_object_text_horiz_advance_get(to);
+   //evas_object_geometry_get(to, NULL, NULL, &w, NULL);
+   //ck_assert_int_lt(adv, w);
 #endif
 
    END_TEXT_TEST();