Avoid test failures in tst_qtimezone.cpp and Windows 10 1809

The test started to fail now also for latest Windows 10 Update
Restone 2. It's unclear why the test was succeeding before, since this
seems a generic Windows API issue.

Task-number: QTBUG-64985
Task-number: QTQAINFRA-2255
Change-Id: I804f6a61c63ea70157353d1aee9027d0735073ab
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Kai Koehne 2019-01-28 14:40:44 +01:00
parent 9bbeb7e6e8
commit 112278d3d7

View File

@ -508,8 +508,7 @@ void tst_QTimeZone::transitionEachZone()
#ifdef USING_WIN_TZ
// See QTBUG-64985: MS's TZ APIs' misdescription of Europe/Samara leads
// to mis-disambiguation of its fall-back here.
if (QOperatingSystemVersion::current() <= QOperatingSystemVersion::Windows7
&& zone == "Europe/Samara" && i == -3) {
if (zone == "Europe/Samara" && i == -3) {
continue;
}
#endif