Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-09-08
00:51 • Closed ticket [1019537fff]: clock.test failures plus 3 other changes artifact: 13db3409e8 user: kennykb
2004-09-07
17:14 • Ticket [1019537fff]: 4 changes artifact: ae44a34069 user: vincentdarley
2004-08-31
17:15 • Ticket [1019537fff]: 4 changes artifact: b31af547c6 user: vincentdarley
10:01 • New ticket [1019537fff]. artifact: 48ddd8f035 user: vincentdarley

clock.test failures

Closed / Fixed1019537fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-08-31 10:01:10
With latest cvs head, on WinXPsp2, I see 22 failures:

Tests began at Tue Aug 31 10:57:34 +0100 2004
clock.test

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

        clock format 0 -timezone :UTC -locale system
-format %x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time zone ":UTC" not found
    while executing
"ConvertUTCToLocal [K $date [set date {}]] $timezone"
    invoked from within
"::tcl::clock::format 0 -timezone :UTC -locale system
-format %x"
    invoked from within
"clock format 0 -timezone :UTC -locale system -format %x"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: CLOCK badTimeZone :UTC
==== clock-31.1 FAILED


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

        clock format 0 -timezone :UTC -locale system
-format %Ex

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time zone ":UTC" not found
    while executing
"ConvertUTCToLocal [K $date [set date {}]] $timezone"
    invoked from within
"::tcl::clock::format 0 -timezone :UTC -locale system
-format %Ex"
    invoked from within
"clock format 0 -timezone :UTC -locale system -format %Ex"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: CLOCK badTimeZone :UTC
==== clock-31.2 FAILED

etc..
vincentdarleyplain2004-08-31 17:15:06
Logged In: YES 
user_id=32170

Note: another relatively fundamental bug is that clock.tcl
is not installed by 'nmake -f makefile.vc install' on
Windows. This means that the clock command is totally broken,
vincentdarleyplain2004-09-07 17:14:54
Logged In: YES 
user_id=32170

I've fixed makefile.vc to install clock.tcl.

The UTC/GMT bugs reported above are also verified by recent
posts to comp.lang.tcl.
kennykb Closed ticket [1019537fff]. [History diff]2004-09-08 00:51:30
Log in (anonymous is fine) to add a comment.