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.
This commit is contained in:
Stefan Schmidt 2016-09-05 11:21:54 +02:00
parent 6bc1dc6d83
commit f52ffec5dd
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ _ecore_promise_quit(void *data, void *value)
double *start = value;
double delta = ecore_loop_time_get() - *start;
fprintf(stderr, "Ecore promise timeout took %f (should be <= 0.01)\n", delta - 0.2);
fail_if(delta - 0.2 > 0.01);
*bob = EINA_TRUE;