[PATCH libinput 2/3] test: up the default test timeout to 10s

Peter Hutterer peter.hutterer at who-t.net
Thu Jul 2 00:46:47 PDT 2015


3s is too easy to hit on congested systems. 10s is overkill, but it's still
better to pass a test late than having to restart the whole test-suite again.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/litest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/litest.c b/test/litest.c
index a5eeb5a..a91207e 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -2390,6 +2390,8 @@ main(int argc, char **argv)
 
 	list_init(&all_tests);
 
+	setenv("CK_DEFAULT_TIMEOUT", "10", 0);
+
 	mode = litest_parse_argv(argc, argv);
 	if (mode == LITEST_MODE_ERROR)
 		return EXIT_FAILURE;
-- 
2.4.3



More information about the wayland-devel mailing list