summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/ecore/ecore_test_timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_timer.c b/src/tests/ecore/ecore_test_timer.c
index fe802bcc90..63cb5332d0 100644
--- a/src/tests/ecore/ecore_test_timer.c
+++ b/src/tests/ecore/ecore_test_timer.c
@@ -183,8 +183,7 @@ _ecore_promise_quit(void *data, const Efl_Event *ev)
183 double *start = success->value; 183 double *start = success->value;
184 double delta = ecore_loop_time_get() - *start; 184 double delta = ecore_loop_time_get() - *start;
185 185
186 fprintf(stderr, "Ecore promise timeout took %f (should be <= 0.02)\n", delta - 0.2); 186 ck_assert_msg(delta - 0.2 <= 0.02, "Ecore promise timeout took %f (should be <= 0.02)\n", delta - 0.2);
187 fail_if(delta - 0.2 > 0.02);
188 187
189 *bob = EINA_TRUE; 188 *bob = EINA_TRUE;
190 ecore_main_loop_quit(); 189 ecore_main_loop_quit();