yakov pushed a commit to branch master.

commit ff1230f77a93f0cef00d976471c8153214c82c23
Author: Yakov Goldberg <[email protected]>
Date:   Thu Apr 11 16:50:20 2013 +0300

    Evas text: fixing test
    
       Adding conditional dependence on freebidi
    
    Signed-off-by: Yakov Goldberg <[email protected]>
---
 src/tests/evas/evas_test_text.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/tests/evas/evas_test_text.c b/src/tests/evas/evas_test_text.c
index 939ba1d..ef93439 100644
--- a/src/tests/evas/evas_test_text.c
+++ b/src/tests/evas/evas_test_text.c
@@ -346,7 +346,11 @@ START_TEST(evas_text_set_get)
 
    /* RTL paragraphs */
    evas_object_text_text_set(to, "נסיון test");
+#ifdef HAVE_FRIBIDI
    fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_RTL);
+#else
+   fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_LTR);
+#endif
 
    END_TEXT_TEST();
 }

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to