From ff5752d1ddb5d12bbabbc92722e6d9d782ca2ae9 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 1 Dec 2022 09:30:47 +0000 Subject: [PATCH] Mark time test as passing, with updated TZ data Requires FGData commit 844c24a085b6f065a1d6c --- test_suite/simgear_tests/timing/test_SGTime.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_suite/simgear_tests/timing/test_SGTime.cxx b/test_suite/simgear_tests/timing/test_SGTime.cxx index 8cd14d55a..a28b3e3c5 100644 --- a/test_suite/simgear_tests/timing/test_SGTime.cxx +++ b/test_suite/simgear_tests/timing/test_SGTime.cxx @@ -44,6 +44,8 @@ void SimgearTimingTests::testBadZoneDetectPosition() // can happen at sea level. // https://sourceforge.net/p/flightgear/codetickets/2780/ + // this was fixed by updating the timezone data from + // https://github.com/BertoldVdb/ZoneDetect into FGData/Timezone/timezone16.bin const auto pos = SGGeod::fromDeg(-69.0, 12.0); - CPPUNIT_ASSERT(t->updateLocal(pos, rootPath / "Timezone") == false); + CPPUNIT_ASSERT(t->updateLocal(pos, rootPath / "Timezone")); }