Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-11-17
14:15 • Closed ticket [2884e645a5]: tcltest-29.2 fails plus 6 other changes artifact: 3e3d576c51 user: dgp
14:06 • Ticket [2884e645a5]: 3 changes artifact: 36afc91474 user: serhiy.storchaka
13:37 • Ticket [2884e645a5]: 3 changes artifact: 3e3d07eabc user: jan.nijtmans
12:47 • New ticket [2884e645a5]. artifact: 9e6309a179 user: dgp

tcltest-29.2 fails

Closed / Invalid2884e645a5df4e1a66751e6f92f362a9648c0cccCreated 15 days agoUpdated 15 days ago
Descriptionplain2026-11-17 12:47:10
==== tcltest-29.2 runAllTests exits with Tk with its result as the status, bug 7abc1460c0 FAILED
==== Contents of test case:

    set res {}
    foreach file {pass.test fail.test broken.test} {
	foreach singleproc {1 0} {
	    set status 0
	    if {[catch {
		exec [interpreter] $all -file $file -singleproc $singleproc 2>@1
	    } out opts]} {
		set status [lindex [dict get $opts -errorcode] 2]
	    }
	    lappend res [list $file $singleproc $status  [string match "*after runAllTests*" $out]  [string match "*exiting with errors*broken.test*" $out]]
	}
    }
    join $res \n

---- Result was:
pass.test 1 0 0 0
pass.test 0 0 0 0
fail.test 1 0 0 0
fail.test 0 0 0 0
broken.test 1 0 0 0
broken.test 0 0 0 0
---- Result should have been (exact matching):
pass.test 1 0 0 0
pass.test 0 0 0 0
fail.test 1 1 0 0
fail.test 0 1 0 0
broken.test 1 1 0 1
broken.test 0 1 0 1
==== tcltest-29.2 FAILED
jan.nijtmanswiki2026-11-17 13:37:59

My guess: not a clean build, since tcltest.tcl changed.

serhiy.storchakawiki2026-11-17 14:06:20

The child process seems to load an older tcltest 2.6.1 without the [7abc1460c0] fix, e.g. a tcltest-2.6.1.tm left from an earlier install. What does package ifneeded tcltest 2.6.1 return after package require tcltest? If that's the cause, bumping tcltest to 2.6.2 would fix it.

dgpplain2026-11-17 14:15:41
Being absolutely certain to start from square one, the failure
goes away.

Maybe the outdated tcltest package was in a zipfs archive that
need a rebuild?
Log in (anonymous is fine) to add a comment.