ecore_suite: disable ecore_con tests that are bogus for an unit test.

these are more like examples or test applications than an unit
test. Needs to re-do.



SVN revision: 82893
This commit is contained in:
Gustavo Sverzut Barbieri 2013-01-16 18:16:14 +00:00
parent 0f21b187b0
commit 22a48925b1
1 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,11 @@
#include <Ecore.h> #include <Ecore.h>
#include <Ecore_Con.h> #include <Ecore_Con.h>
#if 0
/* TODO: this test is broken as it starts a server, but not a client.
* There should be two threads, one with server, another with client,
* they should communicate and then exit with failure or success.
*/
Eina_Bool Eina_Bool
_add(void *data, int type EINA_UNUSED, void *ev) _add(void *data, int type EINA_UNUSED, void *ev)
{ {
@ -238,6 +243,7 @@ START_TEST(ecore_test_ecore_con_server)
fail_if(ret != 0); fail_if(ret != 0);
} }
END_TEST END_TEST
#endif
START_TEST(ecore_test_ecore_con_init) START_TEST(ecore_test_ecore_con_init)
{ {
@ -254,5 +260,7 @@ END_TEST
void ecore_test_ecore_con(TCase *tc) void ecore_test_ecore_con(TCase *tc)
{ {
tcase_add_test(tc, ecore_test_ecore_con_init); tcase_add_test(tc, ecore_test_ecore_con_init);
#if 0
tcase_add_test(tc, ecore_test_ecore_con_server); tcase_add_test(tc, ecore_test_ecore_con_server);
#endif
} }