7 #include "ecore_suite.h"
9 /* FIXME: Currently disable these tests. They are useless ATM and they just
10 * make buildbot complain. Once we add useful tests here we'll also bother
11 * with getting X on the server. */
12 #undef HAVE_ECORE_X_XLIB
14 #ifdef HAVE_ECORE_X_XLIB
18 START_TEST(ecore_test_ecore_x_init)
22 ret = ecore_x_init(NULL);
25 ret = ecore_x_shutdown();
30 START_TEST(ecore_test_ecore_x_bell)
35 ret = ecore_x_init(NULL);
38 printf("You should hear 3 beeps now.\n");
39 for (i = 0; i < 3; i++)
41 ret = ecore_x_bell(0);
42 fail_if(ret != EINA_TRUE);
53 void ecore_test_ecore_x(TCase *tc EINA_UNUSED)
55 #ifdef HAVE_ECORE_X_XLIB
56 tcase_add_test(tc, ecore_test_ecore_x_init);
57 tcase_add_test(tc, ecore_test_ecore_x_bell);