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 <kalle.ju.lehtonen@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
This commit is contained in:
Rohan McGovern 2012-05-29 16:16:46 +10:00 committed by Qt by Nokia
parent 6318f91dc0
commit 3c7ac8bd3a
3 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 400 # this test is slow
TARGET = tst_examples
macx:CONFIG -= app_bundle

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 800 # this test can be slow
TARGET = tst_qquickgridview
macx:CONFIG -= app_bundle

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 600 # this test is slow
TARGET = tst_qquicklistview
macx:CONFIG -= app_bundle