summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-05-02 19:38:54 -0700
committerThiago Macieira <thiago.macieira@intel.com>2022-05-30 21:27:03 -0700
commit92046dde55e88503a6f6d7d3cb3db2bdc3d4c61a (patch)
tree270a7de3b647f9203f90bb4fc49e4526a8de191d /src/testlib/qtestcase.cpp
parent7ad8a2e8fe967a46127d3ba1f0ec5901921819fd (diff)
FatalSignalHandler: handle SIGABRT too
Pick-to: 6.3 Change-Id: I5ff8e16fcdcb4ffd9ab6fffd16eb77e9c77d10ba Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qtestcase.cpp')
-rw-r--r--src/testlib/qtestcase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index bf742e6529..a6c1502bd1 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1893,7 +1893,7 @@ class FatalSignalHandler
{
public:
static constexpr std::array fatalSignals = {
- SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGPIPE, SIGTERM
+ SIGHUP, SIGINT, SIGQUIT, SIGABRT, SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGPIPE, SIGTERM
};
static constexpr std::array crashingSignals = {
// Crash signals are special, because if we return from the handler