Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-10-26
09:11 • Closed ticket [1054101fff]: clock test failures on WinXP plus 3 other change... artifact: 277342a795 user: kennykb
2004-10-25
21:47 • New ticket [1054101fff]. artifact: 504e659419 user: patthoyts

clock test failures on WinXP

Closed / Fixed1054101fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-10-25 21:47:05
Clean build of HEAD as of 2004-10-25 21:30 GMT on
Windows XP (United Kingdom timezone) produces the
following test failures.

clock.test

==== clock-31.4 system locale FAILED
==== Contents of test case:

        clock format 0 -locale system -format %x

---- Result was:
01-Jan-1970
---- Result should have been (exact matching):
31-Dec-1969
==== clock-31.4 FAILED


==== clock-31.5 system locale FAILED
==== Contents of test case:

        clock format 0 -locale system -format %Ex

---- Result was:
the 01' day of January 1970
---- Result should have been (exact matching):
the 31' day of December 1969
==== clock-31.5 FAILED


==== clock-31.6 system locale FAILED
==== Contents of test case:

        clock format 0 -locale system -format "%X %Z"

---- Result was:
12:00:00 AM GMT
---- Result should have been (exact matching):
 7:00:00 PM EST
==== clock-31.6 FAILED

==== clock-34.42 2nd monday in november (2nd try) FAILED
==== Contents of test case:

    set res {}
    foreach i {91 92 93 94 95 96} {
      set nov1th [clock scan 11/1/$i]
      set monday [clock scan "2 monday" -base $nov1th]
      lappend res [clock format $monday -format %Y-%m-%d]
    }
    set res

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time zone BST not found
    while executing
"return -options $opts $retval"
    (procedure "ConvertLocalToUTC" line 25)
    invoked from within
"ConvertLocalToUTC $date2[set date2 {}]"
    (procedure "FreeScan" line 100)
    invoked from within
"FreeScan $string $base $timezone $locale"
    (procedure "::tcl::clock::scan" line 69)
    invoked from within
"clock scan "2 monday" -base $nov1th"
    ("foreach" body line 3)
    invoked from within
"foreach i {91 92 93 94 95 96} {
      set nov1th [clock scan 11/1/$i]
      set monday [clock scan "2 monday" -base $nov1th]
      lappend res [clock ..."
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-34.42 FAILED
kennykb Closed ticket [1054101fff]. [History diff]2004-10-26 09:11:03
Log in (anonymous is fine) to add a comment.