diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-04-17 13:25:12 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-02 14:20:07 +0000 |
commit | f665c9b25dde5d34f14a47f2aa52f8141bc03fd1 (patch) | |
tree | 8c32c1e2eecd96c99d2751fb922951e1d53c857f /tests/auto/qml/ecmascripttests/testcase.pro | |
parent | eca0b30f22903443ac0ca5a91830a6762c546b43 (diff) |
Use the new test runner for the autotest
It's quite a bit faster than the old test runner.
Change-Id: If7e59dd175d740f3f702032f4affeff786be8a32
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/ecmascripttests/testcase.pro')
-rw-r--r-- | tests/auto/qml/ecmascripttests/testcase.pro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/ecmascripttests/testcase.pro b/tests/auto/qml/ecmascripttests/testcase.pro new file mode 100644 index 0000000000..5bf7ecd696 --- /dev/null +++ b/tests/auto/qml/ecmascripttests/testcase.pro @@ -0,0 +1,15 @@ +CONFIG += testcase +TARGET = tst_ecmascripttests +QT += testlib qml-private +macos:CONFIG -= app_bundle +SOURCES += tst_ecmascripttests.cpp qjstest/test262runner.cpp +HEADERS += qjstest/test262runner.h +DEFINES += SRCDIR=\\\"$$PWD\\\" + +# 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 = 500000 +QT_TOOL_ENV += checkenv |