From 9990d09534f61b9a163933618a1f33ba59925662 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 29 May 2012 16:07:14 +1000 Subject: 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: I21b4e8c029ad5ec0f76d4139e86521134fe1e67a Reviewed-by: Toby Tomkins Reviewed-by: Kalle Lehtonen Reviewed-by: Matthew Vogt --- tests/auto/declarative/examples/examples.pro | 1 + tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.pro | 1 + .../qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro | 1 + tests/auto/declarative/qmlvisual/qmlvisual.pro | 1 + 4 files changed, 4 insertions(+) (limited to 'tests/auto') diff --git a/tests/auto/declarative/examples/examples.pro b/tests/auto/declarative/examples/examples.pro index 388c4eef..7d1c540a 100644 --- a/tests/auto/declarative/examples/examples.pro +++ b/tests/auto/declarative/examples/examples.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 400 # this test is slow TARGET = tst_examples QT += testlib diff --git a/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.pro b/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.pro index c6423036..0e3fb6b0 100644 --- a/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.pro +++ b/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 600 # this test is slow TARGET = tst_qdeclarativedebugjs QT += testlib diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro b/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro index 99a96952..c8cdba99 100644 --- a/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro +++ b/tests/auto/declarative/qdeclarativexmlhttprequest/qdeclarativexmlhttprequest.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 1200 # this is a slow test TARGET = tst_qdeclarativexmlhttprequest QT += testlib diff --git a/tests/auto/declarative/qmlvisual/qmlvisual.pro b/tests/auto/declarative/qmlvisual/qmlvisual.pro index 319f1b56..851aa20e 100644 --- a/tests/auto/declarative/qmlvisual/qmlvisual.pro +++ b/tests/auto/declarative/qmlvisual/qmlvisual.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 600 # this test is slow TARGET = tst_qmlvisual QT += testlib -- cgit v1.2.3