From 1b4fe5d388e754d39bf2eac02107e988993bf43f Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Fri, 4 Jun 2021 08:38:00 +1000 Subject: wasm: fix threaded builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit set the thread pool size default to 4 Change-Id: I038a81610c82ac4d162c044d0e1f58196cffc7b7 Reviewed-by: Morten Johan Sørvig --- src/testlib/qtestcase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/testlib/qtestcase.cpp') 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"); } } -- cgit v1.2.3