Tcl Source Code

Check-in [40163c3c57]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge fix clock test-cases from 8.6: Make test clock-67.5 time zone independent - execution fails in the time zones below gmt
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 40163c3c573b52a0d482c36fea9ff8ab52364a27
User & Date: sebres 2017-01-09 18:28:56
Context
2017-01-11
14:10
Merge core-8-6-branch. Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage ... check-in: 81fb7a2a5e user: jan.nijtmans tags: trunk
2017-01-10
13:56
Experimental follow-up: Change internal TclCreateSocketAddress() signature, from using "int port" to... check-in: 3b3fac1cee user: jan.nijtmans tags: tip-456
2017-01-09
19:09
New performance measurement routine "timerate" in opposition to "time" the execution limited by fixe... check-in: 886773ba3b user: sebres tags: sebres-trunk-timerate
18:28
Merge fix clock test-cases from 8.6: Make test clock-67.5 time zone independent - execution fails in... check-in: 40163c3c57 user: sebres tags: trunk
18:23
Fix clock test-cases: Make test clock-67.5 time zone independent - execution fails in the time zones... check-in: 77e3007f1a user: sebres tags: core-8-6-branch
17:53
Merge bug_b87ad7e914 check-in: ea80926604 user: sebres tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/clock.test.

37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
} -result {1 1}

test clock-67.5 {Change scan %x output on global locale change [Bug 4a0c163d24]} -setup {
    package require msgcat
    set current [msgcat::mclocale]
} -body {
    msgcat::mclocale de_de
    set res [clock scan "01.01.1970" -locale current -format %x]
    msgcat::mclocale en_uk
    # This will fail without the bug fix, as still de_de is active
    expr {$res == [clock scan "01/01/1970" -locale current -format %x]}
} -cleanup {
    msgcat::mclocale $current
} -result {1}

# cleanup

namespace delete ::testClock






|


|







37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
} -result {1 1}

test clock-67.5 {Change scan %x output on global locale change [Bug 4a0c163d24]} -setup {
    package require msgcat
    set current [msgcat::mclocale]
} -body {
    msgcat::mclocale de_de
    set res [clock scan "01.01.1970" -locale current -format %x -gmt 1]
    msgcat::mclocale en_uk
    # This will fail without the bug fix, as still de_de is active
    expr {$res == [clock scan "01/01/1970" -locale current -format %x -gmt 1]}
} -cleanup {
    msgcat::mclocale $current
} -result {1}

# cleanup

namespace delete ::testClock