summaryrefslogtreecommitdiff
path: root/legacy/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-12-12 09:40:17 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-12-12 09:40:17 +0000
commitd5523905e436603373968be1c0696f9bdba6438a (patch)
treedefbd8ec3e5e4e23e527b368f9273de989e2e65c /legacy/eeze
parent7d98f2be3895855a888535e67a6003ca08631143 (diff)
eeze/tests: Disable tests that will fail with -fvisibility=hidden
On the one hand this also should have test coverage. On the other hand we don't want to expose this as an public API. Disable for now so we don't fail with -fvisibility=hidden. SVN revision: 80743
Diffstat (limited to 'legacy/eeze')
-rw-r--r--legacy/eeze/src/tests/eeze_suite.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/legacy/eeze/src/tests/eeze_suite.c b/legacy/eeze/src/tests/eeze_suite.c
index 31fbfa37b4..6ae6e1a7a9 100644
--- a/legacy/eeze/src/tests/eeze_suite.c
+++ b/legacy/eeze/src/tests/eeze_suite.c
@@ -219,6 +219,7 @@ START_TEST(eeze_test_udev_attr)
219} 219}
220END_TEST 220END_TEST
221 221
222/*
222START_TEST(eeze_test_udev_device) 223START_TEST(eeze_test_udev_device)
223{ 224{
224 Eina_List *type, *l; 225 Eina_List *type, *l;
@@ -250,6 +251,7 @@ START_TEST(eeze_test_udev_device)
250 eeze_shutdown(); 251 eeze_shutdown();
251} 252}
252END_TEST 253END_TEST
254*/
253 255
254START_TEST(eeze_test_net_list) 256START_TEST(eeze_test_net_list)
255{ 257{
@@ -315,6 +317,7 @@ START_TEST(eeze_test_net_attr)
315} 317}
316END_TEST 318END_TEST
317 319
320/*
318#ifdef HAVE_IPV6 321#ifdef HAVE_IPV6
319START_TEST(eeze_test_net_attr_ipv6) 322START_TEST(eeze_test_net_attr_ipv6)
320{ 323{
@@ -346,6 +349,7 @@ START_TEST(eeze_test_net_attr_ipv6)
346} 349}
347END_TEST 350END_TEST
348#endif 351#endif
352*/
349 353
350START_TEST(eeze_test_sensor_read) 354START_TEST(eeze_test_sensor_read)
351{ 355{
@@ -483,7 +487,7 @@ START_TEST(eeze_test_sensor_read)
483END_TEST 487END_TEST
484 488
485static Eina_Bool 489static Eina_Bool
486event_cb(void *data EINA_UNUSED, int ev_type, void *event) 490event_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
487{ 491{
488 Eeze_Sensor_Obj *sens = NULL; 492 Eeze_Sensor_Obj *sens = NULL;
489 int acc; 493 int acc;
@@ -634,7 +638,9 @@ eeze_suite(void)
634 tcase_add_test(tc, eeze_test_udev_watch); 638 tcase_add_test(tc, eeze_test_udev_watch);
635 tcase_add_test(tc, eeze_test_udev_syspath); 639 tcase_add_test(tc, eeze_test_udev_syspath);
636 tcase_add_test(tc, eeze_test_udev_attr); 640 tcase_add_test(tc, eeze_test_udev_attr);
637 tcase_add_test(tc, eeze_test_udev_device); 641 //FIXME Tested functions here are hidden (not EAPI) and thus can not be tested like this with
642 //-fvisibility=hidden turned on.
643 //tcase_add_test(tc, eeze_test_udev_device);
638 suite_add_tcase(s, tc); 644 suite_add_tcase(s, tc);
639 645
640 tc = tcase_create("Eeze_Net"); 646 tc = tcase_create("Eeze_Net");