From 3c7ac8bd3af7e11edb0af6767f8953b7c812352c Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 29 May 2012 16:16:46 +1000 Subject: [PATCH] Set explicit testcase.timeout for slow tests We'd like to decrease the default timeout for tests in the Qt Project CI so that we waste less time waiting for hanging tests. Tests which genuinely take a long time to run, such as these, should have their timeout explicitly set in their .pro file. Change-Id: I24c91494a5cc30af1d8929c995886253ab34fe86 Reviewed-by: Kalle Lehtonen Reviewed-by: Toby Tomkins --- tests/auto/quick/examples/examples.pro | 1 + tests/auto/quick/qquickgridview/qquickgridview.pro | 1 + tests/auto/quick/qquicklistview/qquicklistview.pro | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tests/auto/quick/examples/examples.pro b/tests/auto/quick/examples/examples.pro index d24fe80..0fa42b7 100644 --- a/tests/auto/quick/examples/examples.pro +++ b/tests/auto/quick/examples/examples.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 400 # this test is slow TARGET = tst_examples macx:CONFIG -= app_bundle diff --git a/tests/auto/quick/qquickgridview/qquickgridview.pro b/tests/auto/quick/qquickgridview/qquickgridview.pro index 4e021c5..e4f95c1 100644 --- a/tests/auto/quick/qquickgridview/qquickgridview.pro +++ b/tests/auto/quick/qquickgridview/qquickgridview.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 800 # this test can be slow TARGET = tst_qquickgridview macx:CONFIG -= app_bundle diff --git a/tests/auto/quick/qquicklistview/qquicklistview.pro b/tests/auto/quick/qquicklistview/qquicklistview.pro index c1b24ba..426b1d9 100644 --- a/tests/auto/quick/qquicklistview/qquicklistview.pro +++ b/tests/auto/quick/qquicklistview/qquicklistview.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 600 # this test is slow TARGET = tst_qquicklistview macx:CONFIG -= app_bundle -- 1.7.2.5