Artifacts Associated With Ticket 1074111
Ticket change [b0942537cc] (rid 98005) by dgp on 2004-11-27 05:24:15:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized 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. - foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "06. Time Measurement"
- title initialized to: "tests fail with tclsh instead of `make test`"
- type initialized to: "Bug"
Ticket change [9eb5cbc68a] (rid 96526) by kennykb on 2004-11-29 22:39:04:
- assignee changed to: "dgp"
Ticket change [ad5c191bc9] (rid 101459) by kennykb on 2004-11-29 22:39:05:
- icomment:
Logged In: YES user_id=99768 The real culprit here appears to be that the sequence you're using to run the test is finding an *installed* clock.tcl that doesn't have fixes for these bugs. If you just do ./tclsh ../tests/all.tcl you don't get TCL_LIBRARY assigned, and it finds clock.tcl in [file join $::tcl_library clock.tcl]. Does it still fail if you do make SCRIPT="../tests/clock.tcl" shell instead of just running ./tclsh?
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [94129be09b] (rid 105917) by dgp on 2004-11-29 23:00:00:
- closedate changed to: "2004-11-29T16:00:00"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 thanks. that observation pointed me to my pilot error.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"