Commit Graph

91 Commits

Author SHA1 Message Date
Daniel Zaoui 83b9e632dc Add F3 key to record scenario
During ecore_shutdown, when the refcount reached 0, the scenario record
has to be done. The problem is that the ecore termination never happens
because of ecore modules loaded during init that references ecore
refcount.
The solution, until this is fixed, is to trigger the scenario recording
from a key press.
2016-02-28 15:00:40 +02:00
kabeer khan 7989552b29 replace "compare" utility with custom compare function using only EFL.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, tasn

Reviewed By: cedric, tasn

Subscribers: tasn

Differential Revision: https://phab.enlightenment.org/D2684

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-29 23:27:29 +02:00
kabeer khan bb051fce2b Prevent deletion of shots having same prefix as test name
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: tasn

Differential Revision: https://phab.enlightenment.org/D2629
2015-06-09 13:52:53 +01:00
kabeer khan 773e539083 Avoid comparing of tests in play step having common prefix
Summary:
Currently genlist_group is also running in play step even if it is
commented in tests.txt. Fixed this issue

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, stefan_schmidt, tasn

Subscribers: stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D2604
2015-06-04 10:50:33 +01:00
kabeer khan 834021b743 Enabled exactness to use efl beta API's
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, tasn

Differential Revision: https://phab.enlightenment.org/D2583
2015-05-27 13:12:40 +01:00
kabeer khan e02ad005f1 Using sha1 to compare two images in play step instead of md5
Summary:
Using using emile to calculate image sha1 instead of md5 to compare
two images, hence making exactness independant of md5.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, tasn

Differential Revision: https://phab.enlightenment.org/D2569
2015-05-27 11:41:28 +01:00
kabeer khan a701d336ca Make exactness independant of elementary
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: tasn

Differential Revision: https://phab.enlightenment.org/D2105
2015-03-05 13:03:08 +00:00
Tom Hacohen e2c1fa0636 Remove unused variable. 2015-03-05 12:03:55 +00:00
kabeer khan 079dbb6dd5 added code to enable shots capturing of ecore_evas and evas examples
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2082
2015-03-04 15:00:05 +00:00
kabeer khan 450d2888eb Add key up/down with keycode event handler
Summary:
To catch key press event added key up/down with keycode event handler

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, tasn

Differential Revision: https://phab.enlightenment.org/D2052
2015-03-04 14:55:17 +00:00
kabeer khan c883067d4b Added .gitignore in bin folder to ignore exactness binary
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: tasn

Differential Revision: https://phab.enlightenment.org/D2057
2015-02-26 13:10:01 +00:00
Tom Hacohen 3b0eb3b873 Fixed a bug preventing it from working on some setups. 2013-10-20 11:21:12 +01:00
Tom Hacohen 163567f0cc Added a more verbose "Shot taken" message.
Include the filename in the message.
2013-06-14 14:41:55 +01:00
Tom Hacohen a2c36ec82a Fix memory leak of filename when running in simulation mode. 2013-06-14 14:41:04 +01:00
Tom Hacohen 7f40296382 Sort exactness errors. 2013-06-14 13:33:32 +01:00
Tom Hacohen 4b8326ad60 Change image files naming template: name_%d.png -> name_%03d.png. 2013-06-14 13:33:23 +01:00
Tom Hacohen 5500a3c0b1 Add an hook to evas_event_input_mouse_move.
Apparently this one is what the new function that is used by ecore_input
(and should be used by input providers) to get input to Evas.
2013-06-13 15:38:03 +01:00
Tom Hacohen b606de65cc Hook on evas_new instead of elm_win_add when tracking Evas.
This makes it more general and thus suitable for non-elm applications.
2013-06-13 13:48:28 +01:00
Tom Hacohen b4b7e65edd Fix initialization issues (and thus some segfaults).
Init ecore before using it, shutdown after done.
Init eet, as we need it as well.
2013-06-13 13:47:22 +01:00
Tom Hacohen b5523094af Print an error if report file can't be opened for writing. 2013-06-12 15:15:02 +01:00
Tom Hacohen 2d5cc83ed5 Also fail if exit signal is non-zero.
We should fail if we segfault, or exit because of another error that
ecore_exe reports a zero exit code for.
2013-06-10 16:57:48 +01:00
Daniel Willmann f94850e84a ecore_init/shutdown: Proper refcounting for wrappers
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-10 16:57:48 +01:00
Tom Hacohen ed1d015b8f Added more verbose output to test buildbot. 2013-06-10 13:44:36 +01:00
Tom Hacohen afb0cd3cd1 Added the 'wrap' parameter, to use a wrapping command around the tests.
A good example would be valgrind.
2013-05-21 15:35:35 +01:00
Tom Hacohen c99fdfb239 Added some verbose support (including cursor in simulation). 2013-05-17 15:47:08 +01:00
Tom Hacohen 36fe181d8e Moved recordings to exactness-data-elm. 2013-05-17 11:23:24 +01:00
Tom Hacohen 3e4c93bd83 Make the Exactness error report valid XHTML 1.0 Strict. 2013-05-15 17:20:00 +01:00
Tom Hacohen 11cc575120 Added html output for easier viewing of the errors. 2013-05-15 16:48:04 +01:00
Daniel Willmann feac36f368 Fix destdir usage for destdir != ./
Some more checks would be good, but this fixes basic usage for now.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-09 13:59:58 +01:00
Tom Hacohen 93ed31024e Removed accidentally added printf. 2013-05-08 15:48:21 +01:00
Tom Hacohen c5860fc6e6 Fixed exactness compilation. Thanks seoz. 2013-05-08 15:43:19 +01:00
Tom Hacohen c2547c0199 Made the exactness script a C program (with improvements).
It's now considerably faster thanks to concurrency.
It's cleaner (almost the same loc).
Better error output.
Easier to use.
2013-05-08 11:47:59 +01:00
Tom Hacohen 6d474175e2 More clean-ups. 2013-04-30 10:35:52 +01:00
Tom Hacohen a1b35c44ac Reduced some code duplicity. 2013-04-29 18:05:49 +01:00
Tom Hacohen 2a31033738 Fixed info message. 2013-04-29 18:05:49 +01:00
Tom Hacohen c00c3aaa29 Added explanations to the flags to the help message.
Also fixed indentation.
2013-04-26 14:19:05 +01:00
Tom Hacohen 33df8ecb2c Get rid of the compare option, useless. 2013-04-26 14:15:41 +01:00
Tom Hacohen 381bd401f8 Get rid of the useless TSUITE_BASE_DIR env var. 2013-04-26 14:11:43 +01:00
Tom Hacohen 6873cad582 Implement VERBOSE the same way as DEBUG. 2013-04-26 14:11:31 +01:00
Tom Hacohen 50cef78346 Fixed usage of backtick that broke in a previous commit.
commit that broke it: 802baf489f
2013-04-26 14:10:29 +01:00
Tom Hacohen fdb791a421 Changed base dir to a sane default. 2013-04-26 13:54:39 +01:00
Tom Hacohen bf5f589310 Fixed up indentation and some general style. 2013-04-26 10:25:57 +01:00
Tom Hacohen 802baf489f Cleaned up script generation and got rid of the atrocious write.sh 2013-04-19 17:12:00 +01:00
Tom Hacohen 7b1df1a40f Fixed out of source builds. 2013-03-18 16:36:10 +00:00
Aharon Hillel eed1c5afdb exactness: Fixed warnings.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68338
2012-02-23 13:59:44 +00:00
Aharon Hillel 8afb58e764 exactness: Fixed evas function in tsuite_shot_do
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68273
2012-02-22 13:44:12 +00:00
Aharon Hillel 52bc4e785e exactness: added -v (verbose) option
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68272
2012-02-22 13:44:08 +00:00
Aharon Hillel 6d68ce3439 exactness: Make it possible to run only selected tests from list file.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 67970
2012-02-15 09:56:07 +00:00
Tom Hacohen f51a7e4835 Exactness: Removed useless bin dir. Merging that into elm_test.
SVN revision: 67934
2012-02-14 13:52:58 +00:00
Aharon Hillel 7a99abbbb0 exactness: Fixed test command Using eval to handle test-names containing spaces
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 67931
2012-02-14 13:52:49 +00:00