diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-05-29 16:16:46 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 10:54:05 +0200 |
commit | 3c7ac8bd3af7e11edb0af6767f8953b7c812352c (patch) | |
tree | 7a35c85575c2e44ea7f54995745c1d116a4fadba | |
parent | 6318f91dc0bf1ac428037c963b80b7a5d4e1ad30 (diff) |
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>
-rw-r--r-- | tests/auto/quick/examples/examples.pro | 1 | ||||
-rw-r--r-- | tests/auto/quick/qquickgridview/qquickgridview.pro | 1 | ||||
-rw-r--r-- | 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 d24fe80498..0fa42b7d24 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 4e021c5a1b..e4f95c16dd 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 c1b24baed4..426b1d962b 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 |