Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-09-25
05:36 • Closed ticket [1034152fff]: clock test failures in debug build plus 8 other ... artifact: 39bc6e039e user: dgp
2004-09-24
23:01 • Ticket [1034152fff]: 4 changes artifact: ecb1c2ac36 user: dgp
15:56 • New ticket [1034152fff]. artifact: e7c38cd35a user: dgp

clock test failures in debug build

Closed / Invalid1034152fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-24 15:56:18
--disable-shared --enable-symbols=all
configuration on Unix:

==== clock-40.1 regression - bad month with -timezone
:localtime FAILED
==== Contents of test case:

        clock scan 1970-01-01T00:00:00 -timezone
:localtime  -format %Y-%m-%dT%H:%M:%S
    
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: cannot determine local time
    while executing
"::tcl::clock::ConvertLocalToUTC [K $date [set date {}]]"
    (procedure
"::tcl::clock::scanproc'%Y-%m-%dT%H:%M:%S'c" line 31)
    invoked from within
"$scanner $string $base $timezone"
    invoked from within
"::tcl::clock::scan 1970-01-01T00:00:00 -timezone
:localtime -format %Y-%m-%dT%H:%M:%S"
    invoked from within
"clock scan 1970-01-01T00:00:00 -timezone :localtime 
-format %Y-%m-%dT%H:%M:%S"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-40.1 FAILED


==== clock-43.1 regression test - mktime returning -1
FAILED
==== Contents of test case:

        clock scan 1969-12-31T23:59:59 -format
%Y-%m-%dT%T -timezone :localtime
    
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: cannot determine local time
    while executing
"::tcl::clock::ConvertLocalToUTC [K $date [set date {}]]"
    (procedure
"::tcl::clock::scanproc'%Y-%m-%dT%H:%M:%S'c" line 31)
    invoked from within
"$scanner $string $base $timezone"
    invoked from within
"::tcl::clock::scan 1969-12-31T23:59:59 -format
%Y-%m-%dT%T -timezone :localtime"
    invoked from within
"clock scan 1969-12-31T23:59:59 -format %Y-%m-%dT%T
-timezone :localtime"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-43.1 FAILED
dgpplain2004-09-24 23:01:25
Logged In: YES 
user_id=80530


This may really be a configure/build
bug.  Appears that with these
configuration options, HAVE_MKTIME
is not getting #define'd when it should.
dgpplain2004-09-25 05:36:08
Logged In: YES 
user_id=80530

Invalid.  Reporter needed to
do a `make distclean` for
up to date configuration handling.
Log in (anonymous is fine) to add a comment.