Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7c38cd35a1069f0f919e24ff1cfa1768119483e
Ticket: 1034152fffffffffffffffffffffffffffffffff
clock test failures in debug build
User & Date: dgp on 2004-09-24 15:56:18
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    --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
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "06. Time Measurement"
  10. title changed to: "clock test failures in debug build"
  11. type changed to: "Bug"