summaryrefslogtreecommitdiff
path: root/src/tests/ecore (unfollow)
AgeCommit message (Collapse)Author
2017-09-22ecore: Avoid using newer check.h functions.Lauro Moura
Summary: The ptr_null/nonnull were added in the 0.11 version of libcheck. The required version in configure.ac is 0.9.10 (some distros still use this old one). Reviewers: felipealmeida, stefan_schmidt Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5220
2017-09-04Efl_Loop: add job, timeout and idle based on Eina_Future.Gustavo Sverzut Barbieri
Since some clash with old version, then add Eina_FutureXXX to their name, later we'll sed.
2017-09-04Eina_Promise/Eina_Future: Add example and tests.Guilherme Iscaro
2017-06-14tests: Fix eina_thread_queue test case 5 & 6Jean-Philippe Andre
ecore_test_ecore_thread_eina_thread_queue_t6 failed often for me. eina_thread_queue_wait() was returning NULL. I believe this is because the test case ended abruptly without waiting for the threads to finish. Indeed, both threads tried hard to reach 10000 messages but it didn't make sense for them both to reach this value, only one would end there. This patch adds an exit message sent by thread 1 to the two other threads, and all threads are waited upon using a single semaphore. Note: This also renames some functions to match their test case number. @raster
2017-02-07ecore: add test to make sure that the timer reset during callback work as ↵Cedric BAIL
expected.
2017-02-03ifdef RUN_IN_TREE logic.Gustavo Sverzut Barbieri
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
2017-02-02ecore: implement new requirement in the test suite.Cedric BAIL
2016-12-16ecore: add test for efl_promise_connect.Cedric BAIL
2016-12-16ecore: add tests for new promise delayed behavior.Cedric BAIL
2016-12-16ecore: fix test to generate one main loop iteration to see promise fulfilled.Cedric BAIL
2016-12-09tests: ecore: detect if the timeout test runs on Jenkins and increase ↵Stefan Schmidt
allowed offset From time to time we run into trouble with this test. It goes over the, already increased, limit on Jenkins. Most likely due to high load on the server. Neither Cedric nor me have been able to pin this down on local runs and we already had increased it from the initial 0.01 to 0.02 but just today we hit 0.38. What we do now is to detect if we run on our jenkins and increase the allowed value while having the intial lower value back for normal local runs.
2016-11-07ecore: simplify suite name as I try to spot an intermitent failure.Cedric BAIL
While running ecore_suite, I, some times, see a failure in the thread queue test, sadly I can't reproduce it while just executing : CK_RUN_CASE=Eina_Thread_Queue ./tests/ecore/ecore_suite
2016-11-07ecore: remove Eina_Promise tests.Cedric BAIL
2016-11-07ecore: remove tests for ecore_thread_promise_run.Cedric BAIL
2016-11-04tests: ecore_promise: removed unused variableStefan Schmidt
Looks like a copy and paste bug form the other tests.
2016-11-03ecore: cleanup testCedric BAIL
2016-11-03ecore: add check to make sure that the order of future_get and value_set can ↵Cedric BAIL
be switched.
2016-11-03ecore: add test for efl_future_then after value_setVitor Sousa
2016-11-03remove xcb support in ecore_x and evas engines as per mailing listCarsten Haitzler (Rasterman)
as per mailing list discussion about dropping xcb support now. it hasn't been complete for a long time, thus not recommented for being turned on. as we are moving to a wayland world xcbmakes even less sense. as agreed, time to clean up a bit and remove a distraction as well as not well tested code. this also updates po's too. @feature
2016-10-19ecore: test recursive case on efl_future.Cedric BAIL
2016-09-20tests: ecore: switch from fprintf to ck_asser_msg macro for custom error messageStefan Schmidt
The ck_assert_msg macro can do this for us already in a failed case.
2016-09-19ecore: fix warning in timer test.Cedric BAIL
2016-09-19tests: ecore: relax the timing precision for the promise timeout testStefan Schmidt
This test has been failing on Jenkins again and again. After adding the debug a while ago it now shows that the value is between 0.01 and 0.02 in all cases I have seen. Relaxing the timeout here a bit to make it pass in situation where our CI is under load.
2016-09-15ecore: migrate job and timeout tests to use efl_future.Cedric Bail
2016-09-15ecore: make sure that progress type have the proper const.Cedric Bail
2016-09-08efl: add documentation and last cleanup of the API.Cedric BAIL
2016-09-08ecore: test efl_future_link.Cedric Bail
2016-09-08ecore: add test for efl_future_race.Cedric Bail
2016-09-08ecore: add tests for efl_future_all.Cedric Bail
2016-09-08ecore: add tests for Efl.Promise.Cedric Bail
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
2016-09-05tests: ecore: add some debug for ecore timer test caseStefan Schmidt
This tests fails on Jenkins from time to time. The timeout is to big. Adding some debug here top see how far we are off when this happens.
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-29ecore-tests: make sure we always get a canonical pathJean Guyomarc'h
There may be extraneous slashes that are contained in the returned generated directories (because they were put there in environment variables). Since we test with string comparison, some tests would fail due to different environment setups.
2016-08-18eina_error: allow errno.h codes.Gustavo Sverzut Barbieri
we have some duplication of errors between Eina_Error and errno.h, however we should use Eina_Error to extend the traditional errno.h system. then change eina_error_msg_register() and eina_error_msg_static_register() to return a magic bit to state the number was registered, and on other functions test this bit in order to operate on registered values, otherwise fallback to errno.h, such as strerror(). It also deprecates 2 clear duplicated errors: - EINA_ERROR_OUT_OF_MEMORY -> ENOMEM - EINA_ERROR_TIMEOUT -> ETIMEDOUT There are two details when using strerror(): - old behavior did not return strings for non-error, such as "Success" or "Unknown error ${N}" - thread-safety issues: since we must be thread safe, then use strerror_r() and eina_stringshare_add() that value, keeping a hash of cached values
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-08-05ecore imf test - remove unused variableCarsten Haitzler (Rasterman)
2016-08-05ecore eina thread queue test - be anal about thread exiting cleanlyCarsten Haitzler (Rasterman)
2016-08-05ecore eina threadqueue test suite - be correct about volatile+paddingCarsten Haitzler (Rasterman)
fill in the padding of mesages (10 bytes) with something so valgrinds can be happy and use vlatiole for msgs count as the msgs num should have been incremented already before the msg sned is done and main thread/loop gets the msg
2016-08-05ecore_imf - fix make check to doa "load all" check after de-sillifying itCarsten Haitzler (Rasterman)
this should make ecore_imf testable with empty env vars also meaning no env var and the make check test will now ensuree this is set to exactly test this.
2016-07-29tests: ecore: try to keep constness for Efl_VersionStefan Schmidt
It returns as const so better try to keep this be having the avriable const as well.
2016-07-13ecore: add test case for tick begin/end.Cedric BAIL
2016-07-05tests: ecore_audio: disable stalling audio_obj_pulse testStefan Schmidt
This test is stalling. Locally as well as on Jenkins. I tried to bisect it without any luck. Even running it from the 1.17 release it does no longer work so i guess it is some change coming from a pulse update on my system. I have version 7.1 here. As we have no-one working actively on ecore_audio I disable the test here and we can track the problem on T4018.
2016-07-05tests: ecore_audio: remove dead codeStefan Schmidt
These test cases do not exist and the code is commented out for a long time.
2016-07-05tests: ecore_audio: move _finished_cb behind PULSE guardStefan Schmidt
This callback is only used from the pulse object test.
2016-06-29ecore: Add basic test case for efl versionJean-Philippe Andre
Not very useful test but still good to make sure we preserve the API.
2016-06-28ecore: fix typo in test.Cedric BAIL
Thanks Stefan.
2016-06-23ecore: fix Windows build by properly defining EAPI in all case for internal ↵Cedric BAIL
API user.
2016-06-22ecore: fix arguments to use Eo native array type.Cedric BAIL