|
2024-04-03
| ||
| 18:53 | • Closed ticket [dc0770a239]: new clock.test failures plus 6 other changes artifact: 54e0d343eb user: sebres | |
| 18:51 | merge 8.7 (closes [dc0770a2397ae0b1]) check-in: 33460960ef user: sebres tags: trunk, main | |
| 18:49 | fixed [dc0770a2397ae0b1]: tests are timezone independent now check-in: 793f4643fa user: sebres tags: core-8-branch | |
| 18:42 | • Ticket [dc0770a239] new clock.test failures status still Open with 3 other c... artifact: 5a6c47a0f1 user: sebres | |
| 18:00 | • New ticket [dc0770a239]. artifact: 50c14559cc user: dgp | |
new clock.test failures
Closed / Fixeddc0770a2397ae0b1ca505275f957712261e7ac1eCreated 3 years agoUpdated 3 years ago
Descriptionplain2024-04-03 18:00:34
$ make test-tcl
...
clock-ivm.test
Validity default mode: on
==== clock-46.29-2.vm:1 scan: validation rules: valid day of leap/not leap year FAILED
==== Contents of test case:
list [clock format [clock scan "366-2016" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y"] [clock format [clock scan "365-2017" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y"] [clock format [clock scan "366-2016" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y"] [clock format [clock scan "365-2017" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y"]
---- Result was:
30-12-2016 30-12-2017 30-12-2016 30-12-2017
---- Result should have been (exact matching):
31-12-2016 31-12-2017 31-12-2016 31-12-2017
==== clock-46.29-2.vm:1 FAILED
clock.test
Validity default mode: off
==== clock-46.29-2.vm:0 scan: validation rules: valid day of leap/not leap year FAILED
==== Contents of test case:
list [clock format [clock scan "366-2016" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y"] [clock format [clock scan "365-2017" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y"] [clock format [clock scan "366-2016" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y"] [clock format [clock scan "365-2017" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y"]
---- Result was:
30-12-2016 30-12-2017 30-12-2016 30-12-2017
---- Result should have been (exact matching):
31-12-2016 31-12-2017 31-12-2016 31-12-2017
==== clock-46.29-2.vm:0 FAILED
sebreswiki2024-04-03 18:42:54
Looks like TZ-issue.
I'll make this tests timezone independently.
sebreswiki2024-04-03 18:53:47
Fixed in [793f4643fae6a5db] (8.7) & [33460960eff6f141] (trunk). Closed.
Log in (anonymous is fine) to add a comment.