diff options
author | Lars Knoll <lars.knoll@digia.com> | 2018-05-02 15:41:04 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-02 14:21:12 +0000 |
commit | a6f30b6c463fc4a326742085b50c7667848e9c21 (patch) | |
tree | c479a9fa187b9e9b8a62424ac5e8ac817de52e2e /tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp | |
parent | fc0582b67000a06a0beed17799e2f069f51cbf3d (diff) |
Raise the stack limit of threads in the threadpool
On some platforms (e.g. macOS), the default stack size for secondary
threads is only 512k, which isn't enough to run all our tests. Raise
the value to 8M (in line with the stack size on Linux and the main
thread on macOS.
Change-Id: I6f0ea1d27cd463f4d776b26cb9fee5813dd3579e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp')
-rw-r--r-- | tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp b/tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp index 6a46a5b7e9..f3367162a3 100644 --- a/tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp +++ b/tests/auto/qml/ecmascripttests/qjstest/test262runner.cpp @@ -98,6 +98,7 @@ bool Test262Runner::run() if (flags & Parallel) { threadPool = new QThreadPool; + threadPool->setStackSize(8*1024*1024); if (flags & Verbose) qDebug() << "Running in parallel with" << QThread::idealThreadCount() << "threads."; } |