discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=407d89f29b00f9ea52fce074916ab879289aa67b
commit 407d89f29b00f9ea52fce074916ab879289aa67b Author: Mike Blumenkrantz <[email protected]> Date: Tue Jun 12 13:57:01 2018 -0400 tests: make ecore timeout special casing dependent on check version Summary: tcase_name() was added in 0.11.0 (2016), which is still not widely enough distributed to rely upon without version checks Reviewers: stefan_schmidt, ManMower, devilhorns Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6260 --- src/tests/ecore/ecore_suite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/ecore/ecore_suite.c b/src/tests/ecore/ecore_suite.c index 0e67feafa7..a331cbf581 100644 --- a/src/tests/ecore/ecore_suite.c +++ b/src/tests/ecore/ecore_suite.c @@ -41,6 +41,7 @@ int timeout_reached = 0; static Eina_Bool timeout_cb() { +#if CHECK_MINOR_VERSION >= 11 const char *tcname = tcase_name(); timeout_reached = 1; @@ -51,6 +52,7 @@ timeout_cb() ecore_main_loop_quit(); } else +#endif ck_abort_msg("test timeout reached!"); timeout = NULL; return EINA_FALSE; --
