diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-03-26 14:19:28 -0400 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2018-04-05 11:10:25 +0200 |
commit | adc601aca2f0a16784af36bf6ae7dd20eeb33202 (patch) | |
tree | cac0a78fa40e88abb028b06d985c28bf89da269c /src/tests/ecore/ecore_test_ecore_input.c | |
parent | b340b5e49ccae48a7d5adbbfa301af39e232348c (diff) | |
download | efl-adc601aca2f0a16784af36bf6ae7dd20eeb33202.tar.gz |
tests: add instrumentation to existing tests to find slow tests
efl_check.h must be included and the EFL_START/END_TEST macros must be
used in place of normal START/END_TEST macros
timing is enabled when TIMING_ENABLED is set
https://phab.enlightenment.org/w/improve_tests/
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'src/tests/ecore/ecore_test_ecore_input.c')
-rw-r--r-- | src/tests/ecore/ecore_test_ecore_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_input.c b/src/tests/ecore/ecore_test_ecore_input.c index ccb0c92405..f1905cb6c4 100644 --- a/src/tests/ecore/ecore_test_ecore_input.c +++ b/src/tests/ecore/ecore_test_ecore_input.c @@ -11,7 +11,7 @@ #define MAX_ITER 10 -START_TEST(ecore_test_ecore_input_init) +EFL_START_TEST(ecore_test_ecore_input_init) { int ret, i, j; @@ -29,7 +29,7 @@ START_TEST(ecore_test_ecore_input_init) fail_if(ret != j); } } -END_TEST +EFL_END_TEST void ecore_test_ecore_input(TCase *tc) { |