Remove a mis-placed QSKIP().
It made us skip the rest of the test, not just the small set of sub-tests that were conditioned by the if () in whose else it sat. Change-Id: I5e914e0aeb9d5ba44b21966d071aaccbc590365d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
This commit is contained in:
parent
0a8fd9c620
commit
45ae0cb780
@ -718,8 +718,6 @@ void tst_QDateTime::fromMSecsSinceEpoch()
|
||||
QCOMPARE(dtLocal.toLocalTime(), cet);
|
||||
QCOMPARE(dtUtc.toLocalTime(), cet);
|
||||
QCOMPARE(dtOffset.toLocalTime(), cet);
|
||||
} else {
|
||||
QSKIP("You must test using Central European (CET/CEST) time zone, e.g. TZ=Europe/Oslo");
|
||||
}
|
||||
|
||||
// LocalTime will overflow for max
|
||||
|
Loading…
Reference in New Issue
Block a user