Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 504e6594194117d4bd0dcf51b17b7c1267fec613
Ticket: 1054101fffffffffffffffffffffffffffffffff
clock test failures on WinXP
User & Date: patthoyts on 2004-10-25 21:47:05
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
    
  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: "patthoyts"
  9. subsystem changed to: "06. Time Measurement"
  10. title changed to: "clock test failures on WinXP"
  11. type changed to: "Bug"