diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2018-04-19 19:00:30 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2018-04-25 08:58:29 +0000 |
commit | ab6cfcfe847bc6a4aa80a6041febd9db87110a7e (patch) | |
tree | 8296af31300f6bdd8554042b85c06ee0b2b8ce2f /tests | |
parent | 127659c45020a83b80eeed7106c1f377a36c5c77 (diff) |
Give the ES test-suite enough time to run
The watchdog timer's usual 5 minutes is roughly how long the test
takes to run (and it gets run twice), so there's a good chance of
timing out. Avoid flakiness by giving it a third as much again on
top of the default.
Change-Id: I7cc9e392ab939ffe45d92bde635433d272e17388
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/ecmascripttests/ecmascripttests.pro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/ecmascripttests/ecmascripttests.pro b/tests/auto/qml/ecmascripttests/ecmascripttests.pro index 6d3ee12307..4298b068ca 100644 --- a/tests/auto/qml/ecmascripttests/ecmascripttests.pro +++ b/tests/auto/qml/ecmascripttests/ecmascripttests.pro @@ -8,6 +8,14 @@ DEFINES += SRCDIR=\\\"$$PWD\\\" TESTSCRIPT=$$PWD/test262.py isEmpty(V4CMD): V4CMD = qmljs +# The ES test suite takes approximately 5 mins to run, on a fairly +# vanilla developer machine, so the default watchdog timer kills the +# test some of the time. Fix by raising time-out to 400s when +# invoking tst_ecmascripttests: +checkenv.name = QTEST_FUNCTION_TIMEOUT +checkenv.value = 400000 +QT_TOOL_ENV += checkenv + checkjittarget.target = check-jit checkjittarget.commands = python $$TESTSCRIPT --command=$$V4CMD --parallel --with-test-expectations --update-expectations checkjittarget.depends = all |