Windows 11 24H2: skip crashing tst_qnetworkinformation_appless
Current Windows 11 24H2 build version is 26100. It is assumed Windows 11 25H2 build version will be >26200, this is added to the if-condition so >25H2 will not be skipped. Task-number: QTBUG-136628 Task-number: QTBUG-135599 Change-Id: I2d39fd4f9db546f2d7c7db17f6569708255579b3 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
0cd5788ab3
commit
52fe1d9d9e
@ -4,6 +4,7 @@
|
||||
#include <QtCore/qcoreapplication.h>
|
||||
#include <QtNetwork/qnetworkinformation.h>
|
||||
#include <QtTest/qtest.h>
|
||||
#include <QOperatingSystemVersion>
|
||||
|
||||
class tst_QNetworkInformation_appless : public QObject
|
||||
{
|
||||
@ -14,6 +15,16 @@ private slots:
|
||||
|
||||
void tst_QNetworkInformation_appless::reinit()
|
||||
{
|
||||
|
||||
#if QT_CONFIG(cpp_winrt)
|
||||
if (QOperatingSystemVersion::current() >=
|
||||
QOperatingSystemVersion(QOperatingSystemVersion::Windows11_24H2) &&
|
||||
QOperatingSystemVersion::current() <
|
||||
QOperatingSystemVersion(QOperatingSystemVersion::Windows, 10, 0, 26200)) {
|
||||
QSKIP("This test crashes on Windows 11 24H2. QTBUG-135599");
|
||||
}
|
||||
#endif
|
||||
|
||||
int argc = 1;
|
||||
char name[] = "./test";
|
||||
char *argv[] = { name, nullptr };
|
||||
|
Loading…
x
Reference in New Issue
Block a user