Overview
| Artifact ID: | 2912ac70636aa74e90d9bd73b735a309646648ce99a14cc8e764e52914be47f3 |
|---|---|
| Ticket: | 7b4a819535231639cccf59d197ed59ded4375119
Sometimes, on macOS, 15/20 minutes are not enough to run all testcases |
| User & Date: | sebres on 2026-09-14 14:07:37 |
Changes
- icomment:
I don't know how it ever working properly, because $::tcl_platform(platform) is basically never "macintosh" (I didn't search for the revision yet, but even 8.5/8.6 seem to miss it (it is either dos, unix or windows, nothing else). The fix (repairing tcltest) may look like this - [https://github.com/tcltk/tcl/commit/956856ba192179526fc12241f1bcb4ee1a540924|GH/tcl/956856ba192179526fc12241f1bcb4ee1a540924]: <code><pre style="margin-left:15pt"> ConstraintInitializer unixOnly \ - {string equal $::tcl_platform(platform) unix} + {expr {$::tcl_platform(platform) eq "unix" && $::tcl_platform(os) ne "Darwin"}} ConstraintInitializer macOnly \ - {string equal $::tcl_platform(platform) macintosh} + {expr {$::tcl_platform(platform) eq "unix" && $::tcl_platform(os) eq "Darwin"}} ConstraintInitializer pcOnly \ {string equal $::tcl_platform(platform) windows} ConstraintInitializer winOnly \ </pre></code> As you can see - [https://github.com/tcltk/tcl/actions/runs/34849913792|runs/34849913792] - it fixed the hang, but... An alternative fix may move this logic to TclpSetVariables(), and restore $::tcl_platform(platform) "macintosh" back. However it looks as too grave change to my taste. I'm not really familiar with macos, so I'd like to delegate this decision to someone else. I'd firstly repair macos in tcltest only, but there are more places in source code checking for "macintosh". - login: "sebres"
- mimetype: "text/x-fossil-wiki"