summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2021-06-04 08:38:00 +1000
committerLorn Potter <lorn.potter@gmail.com>2021-06-08 08:10:43 +1000
commit1b4fe5d388e754d39bf2eac02107e988993bf43f (patch)
tree126ab5f28a138490a9eb9f36d9028aa3ede573d8 /src/testlib/qtestcase.cpp
parent14e09ada69fc3f1b09a8ad8228c3b8ebb542b220 (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/qtestcase.cpp')
-rw-r--r--src/testlib/qtestcase.cpp2
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");
}
}