Fixed libkcal tests (new version) - bug 2719 #18
Merged
SlavekB
merged 1 commits from bug/2719/libkcaltests-new
into master
5 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'bug/2719/libkcaltests-new'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Replaces #17.
Under Debian/Ubuntu, to be built with TDE/tde-packaging#15
Fixed building of libkcal tests (new version) - bug 2719to WIP: Fixed building of libkcal tests (new version) - bug 2719 5 years agoMarked as WIP until tests are fixed, otherwise building tdepim would fail.
WIP: Fixed building of libkcal tests (new version) - bug 2719to Fixed libkcal tests (new version) - bug 2719 5 years agoPR is now completed and works fine in Debian Buster.
100% tests passed, 0 tests failed out of 455
@SlavekB: can you run a test on all distros and see if all tests pass?
Score of builds is not good:
I think it's related to commit
8996740084
. maybe redundantis_utc
is still needed to use for libical < 3 because it is used internally in libical? Or something wrong with function icaltime_from_timet_with_zone?Successful builds are for distributions that contain libical >= 3 (Buster, Bionic, Cosmic, Disco), failing are all that contain libical < 3. 19 tests fail on older distributions (Squeeze, Wheezy, Lucid, Precise), 13 on newer distributions (same starting from test 443):
@SlavekB: thanks for testing. Will work on a fix. Most likely the update to libical 3 is resposnsible, as you pointed out. Good thing that the tests have spotted this 😄
Fixed libkcal tests (new version) - bug 2719to WIP - Fixed libkcal tests (new version) - bug 2719 5 years agoWIP - Fixed libkcal tests (new version) - bug 2719to WIP: Fixed libkcal tests (new version) - bug 2719 5 years agoResults on Debian 6.0 (Squeeze) and 7.0 (Wheezy):
Debian 8.0 (Jessie) and newer are fine – the 4XX tests are now resolved. I expect similar results for Ubuntu.
tests seems to be caused by bug in old versions of libical (0.4x) where the DST zone of Los Angeles is inaccurate.
The failing tests refer to a time on April 2, 2002. In 2002 DST was applied on April 7, meaning till that date the time difference between UTC and Los Angeles was 8 hours and not 7. In Squeeze it seems libical thinks it was 7 hours instead of 8.
WIP: Fixed libkcal tests (new version) - bug 2719to Fixed libkcal tests (new version) - bug 2719 5 years agoNew commit tested on Squeeze. Looks good.
Building on all currently supported Debian / Ubuntu distributions – only amd64 and i386 for test purposes:
Tests work fine – good work! However, there is one suggestion for adjustment.
endforeach( )
set_target_properties( testfields
PROPERTIES COMPILE_FLAGS -DINPUT='\"${CMAKE_CURRENT_SOURCE_DIR}/data/test_pilot.ics\"'
To avoid potential problems with escaping quotes, it is better to use:
ok thanks. will incorporate and recommit
309e91d9d6
.