Evas text: fixing test

Adding conditional dependence on freebidi

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
This commit is contained in:
Yakov Goldberg 2013-04-11 16:50:20 +03:00
parent c226a11bfe
commit ff1230f77a
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}