aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlmin/tst_qmlmin.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2018-10-12 10:44:09 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-10-16 10:40:22 +0000
commit1d3c08b5e25613a738766ddc3a0d3c7ca5b59e8e (patch)
treec6e008f7de54ae856d7f0952313ff224afbac73d /tests/auto/qml/qmlmin/tst_qmlmin.cpp
parente1eb99dfc0896f81dbcb8d5eed7bb8c18839dac6 (diff)
QML: Extend QML loader thread's stack size
By default, on some platforms non-main threads have a very limited stack size. Extend it so that we can parse more deeply nested QML/JS files. The parser expects a stack size of 8MB. Task-number: QTBUG-71078 Change-Id: I5edd6630c870e45c3dbe66e6a2a178f5c6991677 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlmin/tst_qmlmin.cpp')
-rw-r--r--tests/auto/qml/qmlmin/tst_qmlmin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlmin/tst_qmlmin.cpp b/tests/auto/qml/qmlmin/tst_qmlmin.cpp
index cae833cd60..e244369581 100644
--- a/tests/auto/qml/qmlmin/tst_qmlmin.cpp
+++ b/tests/auto/qml/qmlmin/tst_qmlmin.cpp
@@ -130,6 +130,7 @@ void tst_qmlmin::initTestCase()
invalidFiles << "tests/auto/qml/qjsengine/script/com/trolltech/syntaxerror/__init__.js";
invalidFiles << "tests/auto/qml/debugger/qqmlpreview/data/broken.qml";
invalidFiles << "tests/auto/qml/qqmllanguage/data/fuzzed.2.qml";
+ invalidFiles << "tests/auto/qml/qqmllanguage/data/fuzzed.3.qml";
// generatorFunction.qml is not invalid per se, but the minifier cannot handle yield statements
invalidFiles << "tests/auto/qml/qqmlecmascript/data/generatorFunction.qml";
#endif