From a84f1f97e995008657c19f931b6bf589e883e84c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 1 Nov 2017 17:45:49 +0100 Subject: [PATCH 2/3] Return back fail-forgiveness into the 'timezones' test This returns a little part of commit 77f82ba88abbb633dc52335fcc050bec3b41c269, to not fail the test when less than two percents of the test fail. It stroke with tzdata-2017c. --- src/test/timezones.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/timezones.c b/src/test/timezones.c index 661c008f..4ccfdea7 100644 --- a/src/test/timezones.c +++ b/src/test/timezones.c @@ -159,6 +159,11 @@ int main() percent_failed = total_failed * 100 / (total_failed + total_okay); printf(" *** Summary: %lu zones tested, %u days failed, %u okay => %u%% failed ***\n", (unsigned long)timezones->num_elements, total_failed, total_okay, percent_failed); + + if (percent_failed <= 1 && total_failed) { + ret = 0; + printf(" *** Expect some small error rate with inter-operable vtimezones *** \n"); + } } icaltimezone_free_builtin_timezones(); -- 2.13.5