diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2021-06-04 08:38:00 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2021-06-08 08:10:43 +1000 |
commit | 1b4fe5d388e754d39bf2eac02107e988993bf43f (patch) | |
tree | 126ab5f28a138490a9eb9f36d9028aa3ede573d8 /src/testlib | |
parent | 14e09ada69fc3f1b09a8ad8228c3b8ebb542b220 (diff) |
wasm: fix threaded builds
set the thread pool size default to 4
Change-Id: I038a81610c82ac4d162c044d0e1f58196cffc7b7
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestcase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 596f521ffa..b1e6401b0f 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -1074,7 +1074,9 @@ public: case TestFunctionStart: case TestFunctionEnd: if (Q_UNLIKELY(!waitFor(locker, e))) { +#ifndef Q_OS_WASM stackTrace(); +#endif qFatal("Test function timed out"); } } |