Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0942537ccb8f264fe5b485dc192c5806d3fe4b5
Ticket: 1074111fffffffffffffffffffffffffffffffff
tests fail with tclsh instead of `make test`
User & Date: dgp on 2004-11-27 05:24:15
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    If instead of `make test`, I run
    
    $ ./tclsh ../tests/all.tcl
    
    the following tests fail:
    
    ==== clock-34.28 clock scan, day FAILED
    ==== Contents of test case:
    
        clock format [clock scan "Monday" -gmt true -base
    946627200]  -format {%b %d, %Y %H:%M:%S} -gmt true
    
    ---- Result was:
    Jan 03, 2000 08:00:00
    ---- Result should have been (exact matching):
    Jan 03, 2000 00:00:00
    ==== clock-34.28 FAILED
    
    
    ==== clock-44.1 regression test - time zone name
    containing hyphen FAILED
    ==== Contents of test case:
    
            clock format 1098466496 -format %H:%M:%S%z
    -timezone US/East-Indiana
        
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: time zone US/East-Indiana not found
        while executing
    "ConvertUTCToLocal $date[set date {}] $timezone"
        invoked from within
    "clock format 1098466496 -format %H:%M:%S%z -timezone
    US/East-Indiana"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: CLOCK badTimeZone {$:fileName}
    ==== clock-44.1 FAILED
    
    the real error is probably in either the
    tests, or in something about initialization.
    
  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: "tests fail with tclsh instead of `make test`"
  11. type changed to: "Bug"