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

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 25 15:06:45 PDT 2013


On Fri, Aug 23, 2013 at 08:12:36PM +0200, Martin Minarik wrote:
> ---
>  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 7ce616f..afe451b 100644
> --- a/test/test-libevdev-has-event.c
> +++ b/test/test-libevdev-has-event.c
> @@ -934,6 +934,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

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