diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index 2265fe3147..8f228a7b85 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -767,14 +767,22 @@ void checkErrorOutput(const QString &test, const QByteArray &errorOutput) #ifdef Q_CC_MINGW if (test == "blacklisted" // calls qFatal() || test == "silent") // calls qFatal() -#endif return; +#endif #ifdef Q_OS_WIN if (test == "crashes") return; // Complains about uncaught exception #endif +#ifdef Q_OS_UNIX + if (test == "assert" + || test == "crashes" + || test == "failfetchtype" + || test == "faildatatype") + return; // Outputs "Received signal 6 (SIGABRT)" +#endif + #ifdef Q_OS_LINUX // QEMU outputs to stderr about uncaught signals if (QTestPrivate::isRunningArmOnX86() &&