Commit Graph

18 Commits

Author SHA1 Message Date
Amitesh Singh a2e3b8ad13 eeze: add support of GPIO sysfs detection and watch.
This adds support for detection and watch of GPIO pins in /sys/class/gpio/*
This detects both gpiochip<N> & gpio<N>.

@feature
2016-09-06 20:42:26 +05:30
Stefan Schmidt e916eae38a tests eeze: enable eeze_net IPv6 test again and skip if impossible
The test depends on the host system having IPv6 setup on the loopback device.
This is not always the case even if we have a system that does have
"struct ipv6_mreq", our HAVE_IPV6 test, and would support it.

Skip here if we can't fetch an IPv6 address. The IPv4 test is still running
regardless.
2016-03-11 17:59:46 +01:00
Tom Hacohen a47122c1ca Eeze test: Fix eeze test compilation. 2016-02-16 12:54:29 +00:00
Vincent Torri 92ff735c11 Test rework #7: Eeze
eeze_suite.c has also been splitted
2016-02-16 12:41:06 +00:00
Tom Hacohen 8db866f636 Eeze tests: Remove an unreliable test.
I hope this will be enough to make the suite less broken.
This fails often on jenkins and cedric's box. This should
either be made reliable, or removed, but the current state
is definitely not good if we would like to increase the trust
in Jenkins.
2015-05-13 17:18:32 +01:00
Stefan Schmidt a51eceaf6d tests/eeze: Disable libcheck timeout like we do for the rest of our suites
Recently I have seen that eeze_suite times out more often on jenkins when
being under load. Looking in this revealed that we have been using the default
4s timeout for eeze while almost all others suites had the timeout disabled
already. In eeze there should be no test that would really block and if I find
one I can simply add a specific timeout like we did for eina_barrier.
2015-04-14 14:49:45 +02:00
Stefan Schmidt 763bdd1618 eeze/sensor: Switch timestamp to relative values coming.
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.

This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.

As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Stefan Schmidt 6b70dd57d3 eeze/sensor: Move eeze_Sernsor_obj_get into private header.
Together with eeze_sensor_module_register/unregister these are the functions
that are irrelevant for developer when they just want to use the eeze_sensor
API.

Still all three need to be marked with EAPI as they are used in the backend
modules and due to our visibility hidden usage the module loading would fail
if we remove EAPI from them.

Moving them into the private header should give an indication that these are
not meant for pure API users.
2013-04-12 15:35:08 +01:00
Stefan Schmidt 5706c6027b eeze/sensor/tests: Catch all callbacks from async read.
Originally we quit mainloop on the first event we got. As we expect a bit
more we are now counting them and only leave when all arrived.
2013-03-28 14:38:12 +00:00
Stefan Schmidt f7c055b0ce eeze/sensor: Setup all ecore event types in init.
We had some set up but not all. Do that and avoid the redo'ing in
eeze_sensor test.
2013-03-27 17:15:27 +00:00
Stefan Schmidt fdb479d060 eeze/sensor/test: Remove useless check.
Thsi would only test ecore_event_add and nothing wrt to eeze sensor.
2013-03-27 17:14:31 +00:00
Daniel Willmann c2bdfae63e eeze_sensor: Don't free the data passed in the callback ourself
The way ecore_event_add() is used in the sensor modules takes care of
that already (not providing a free cb).

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-22 18:32:38 +00:00
Tom Hacohen 3ba9311c0f Tests: Output XML to build dir, not source dir. 2013-03-12 12:46:06 +00:00
Stefan Schmidt 85810dac8c tests: Add xml output file for check runs for the use with jenkins.
We can do pretty graphs with jenkins about our unit tests. But we
need the check xml output for that. Enabling it in all suites.
2013-03-12 09:59:06 +00:00
Gustavo Sverzut Barbieri 69650dd84c eeze: remove warning and add a bit more test.
it's basically not testing anything, just calling the API :-( Added
some tests that check if the listed type is of that type (mouse,
touchpad, joystick).



SVN revision: 82949
2013-01-17 20:31:06 +00:00
Gustavo Sverzut Barbieri 733425c62c efl: make libraries aware of EFL_RUN_IN_TREE.
this variable tells that the build is being done in tree and we should
not look at install locations.



SVN revision: 82217
2013-01-04 17:19:43 +00:00
Gustavo Sverzut Barbieri 25bb274f1e efl/eeze: uncomment test cases
SVN revision: 82137
2013-01-04 01:50:14 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00