From d48f3b1ab48c05d12d95477bb5e6fbf28091cb5f Mon Sep 17 00:00:00 2001 From: Krzysztof Sommerfeld Date: Mon, 17 Jul 2023 20:05:52 +0200 Subject: [PATCH] Exclude VxWorks platform from stack trace generation Change-Id: I71c2e542ef144f544610edb9245dcbc38ea7db3f Reviewed-by: Thiago Macieira --- src/testlib/qtestcase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 9b38208949..38108729cc 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -373,7 +373,7 @@ static void generateStackTrace() if (debugger == None || alreadyDebugging()) return; -# if defined(Q_OS_UNIX) && !defined(Q_OS_WASM) && !defined(Q_OS_INTEGRITY) +# if defined(Q_OS_UNIX) && !defined(Q_OS_WASM) && !defined(Q_OS_INTEGRITY) && !defined(Q_OS_VXWORKS) writeToStderr("\n=== Stack trace ===\n"); // execlp() requires null-termination, so call the default constructor @@ -410,7 +410,7 @@ static void generateStackTrace() } writeToStderr("=== End of stack trace ===\n"); -# endif // Q_OS_UNIX && !Q_OS_WASM +# endif // Q_OS_UNIX && !Q_OS_WASM && !Q_OS_INTEGRITY && !Q_OS_VXWORKS } #endif // !defined(Q_OS_WASM) || QT_CONFIG(thread)