tst_qlogging: don't skip all tests under static builds

We only need to skip the backtrace ones, because there's no library
called "Qt6Core".

Pick-to: 6.4 6.5
Change-Id: I69ecc04064514f939896fffd1732dd680058ba6e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Thiago Macieira 2022-12-21 13:57:30 -03:00
parent 5aa66034c2
commit b242457d34

View File

@ -724,7 +724,7 @@ void tst_qmessagehandler::qMessagePattern_data()
#ifdef __GLIBC__
# if QT_CONFIG(static)
QSKIP("These test cases don't work with static Qt builds");
// These test cases don't work with static Qt builds
# else
# ifndef QT_NO_DEBUG
QList<QByteArray> expectedBacktrace = {