tests: ecore: add some debug for ecore timer test case
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 5 Sep 2016 09:21:54 +0000 (11:21 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 5 Sep 2016 09:21:54 +0000 (11:21 +0200)
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.

src/tests/ecore/ecore_test_timer.c

index ed32658..b94f139 100644 (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;