tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=aad13a286faed40ae3d7163c8edebacc4deefa2d

commit aad13a286faed40ae3d7163c8edebacc4deefa2d
Author: Tom Hacohen <t...@stosb.com>
Date:   Tue Mar 18 14:56:57 2014 +0000

    Evas text: Make tests more lax so they'll work on Ubuntu.
    
    It seems that a different version of freetype is causing some different
    values to be calculated for some glyphs. Also, we consider the whole
    font list when calculating max ascent/descent, so there will always be
    differences there.
    
    This commit just laxes the tests, requiring the values to be at least
    the values we expect from our font.
    
    Fixes T1079
---
 src/tests/evas/evas_test_textblock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/evas/evas_test_textblock.c 
b/src/tests/evas/evas_test_textblock.c
index 7836e2e..8b23393 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -1763,12 +1763,12 @@ START_TEST(evas_textblock_wrapping)
 
    evas_object_textblock_size_formatted_get(tb, &w, &h);
    ck_assert_int_eq(w, 32);
-   ck_assert_int_eq(h, 25);
+   _ck_assert_int(h, >=, 25);
 
    evas_object_resize(tb, 400, 400);
 
    evas_object_textblock_size_formatted_get(tb, &w, &h);
-   ck_assert_int_eq(w, 44);
+   _ck_assert_int(w, >=, 44);
    ck_assert_int_eq(h, 16);
 
    /* Complex compound clusters using Devanagari. */

-- 


Reply via email to