[PATCH 2/4] Prolong the timeout for event codes test case

Peter Hutterer peter.hutterer at who-t.net
Tue Sep 10 16:48:11 PDT 2013


On Fri, Aug 23, 2013 at 08:12:36PM +0200, Martin Minarik wrote:
> This test seems to time out on me for some reason, I'm building
> with gcov enabled and without optimalization for easy debugging.
> 
> Signed-off-by: Martin Minarik <minarik11 at student.fiit.stuba.sk>
> 
> ---
>  test/test-libevdev-has-event.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/test/test-libevdev-has-event.c b/test/test-libevdev-has-event.c
> index 242f991..87d8ec5 100644
> --- a/test/test-libevdev-has-event.c
> +++ b/test/test-libevdev-has-event.c
> @@ -1104,6 +1104,7 @@ libevdev_has_event_test(void)
>  	suite_add_tcase(s, tc);
>  
>  	tc = tcase_create("event codes");
> +	tcase_set_timeout(tc, 12);
>  	tcase_add_test(tc, test_event_codes);
>  	tcase_add_test(tc, test_event_code_limits);
>  	suite_add_tcase(s, tc);
> -- 
> 1.7.10.4

My previous comment to this is still valid here:

http://lists.freedesktop.org/archives/input-tools/2013-August/000161.html
"that seems like an extremely long timeout for a fairly simple test. I don't
think all tests in total take 12s on my laptop here. are you running into
problems with this frequently? and if so, what machine is this on?"


Cheers,
   Peter




More information about the Input-tools mailing list