summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_timer.c
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-09-05 11:21:54 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-09-05 11:21:54 +0200
commitf52ffec5dd143ee76c59e4ee2309412906c6d590 (patch)
treebdaeac4f02fd6bd1ac3e6341c5540495f147882a /src/tests/ecore/ecore_test_timer.c
parent6bc1dc6d83e4f898e9a1147332c1d2edda788cec (diff)
tests: ecore: add some debug for ecore timer test case
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.
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/ecore/ecore_test_timer.c b/src/tests/ecore/ecore_test_timer.c
index ed326585a8..b94f139739 100644
--- a/src/tests/ecore/ecore_test_timer.c
+++ b/src/tests/ecore/ecore_test_timer.c
@@ -182,6 +182,7 @@ _ecore_promise_quit(void *data, void *value)
182 double *start = value; 182 double *start = value;
183 double delta = ecore_loop_time_get() - *start; 183 double delta = ecore_loop_time_get() - *start;
184 184
185 fprintf(stderr, "Ecore promise timeout took %f (should be <= 0.01)\n", delta - 0.2);
185 fail_if(delta - 0.2 > 0.01); 186 fail_if(delta - 0.2 > 0.01);
186 187
187 *bob = EINA_TRUE; 188 *bob = EINA_TRUE;