diff --git a/Tests/kstars_ui/test_ekos.cpp b/Tests/kstars_ui/test_ekos.cpp --- a/Tests/kstars_ui/test_ekos.cpp +++ b/Tests/kstars_ui/test_ekos.cpp @@ -110,8 +110,10 @@ QVERIFY(connectDevices != nullptr); QVERIFY(!connectDevices->isEnabled()); +#if QT_VERSION >= 0x050800 QEXPECT_FAIL("", "Ekos resets the simulation clock when starting a profile.", Continue); QCOMPARE(llround(KStars::Instance()->data()->clock()->utc().toLocalTime().toMSecsSinceEpoch()/1000.0), KStarsUiTests::m_InitialConditions.dateTime.toSecsSinceEpoch()); +#endif QEXPECT_FAIL("", "Ekos resumes the simulation clock when starting a profile.", Continue); QVERIFY(!KStars::Instance()->data()->clock()->isActive());