Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-12-09
19:09 • Closed ticket [3389251fff]: spurios output in 'make test' plus 10 ot... artifact: db90c6bca3 user: ferrieux
2011-08-10
05:52 • Ticket [3389251fff]: 4 changes artifact: 7e0a6e240b user: ferrieux
05:19 • Ticket [3389251fff]: 4 changes artifact: ac850ef552 user: ferrieux
05:14 • Ticket [3389251fff]: 4 changes artifact: e7ace54d31 user: ferrieux
05:09 • Ticket [3389251fff]: 4 changes artifact: e7d909af99 user: msofer
05:06 • Ticket [3389251fff]: 4 changes artifact: f7dac8c2fa user: ferrieux
04:44 • Ticket [3389251fff]: 4 changes artifact: 110348e6ad user: ferrieux
2011-08-09
21:38 • New ticket [3389251fff]. artifact: b030980b07 user: msofer

spurios output in 'make test'

Closed / Fixed3389251fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 14 years ago
Descriptionplain2011-08-09 21:38:21
Running 'make test' on today's trunk tip shows (look right after chan.test)


Tests began at Tue Aug 09 18:35:22 ART 2011
append.test
appendComp.test
apply.test
assemble.test
assocd.test
async.test
autoMkindex.test
basic.test
binary.test
case.test
chan.test
'
chanio.test
clock.test
ferrieuxplain2011-08-10 04:44:31
See comment about this in 2919042: it is test chan-4.6 which sets an output oefchar on stdout (the single quote).
It turns out that full finalization (you used -DPURIFY, right ?) forces the output eofchar to be written.
ferrieuxplain2011-08-10 05:06:52
In 8.5, though Finalize was called, the closing of (std?) channels was not complete.
You can observe the same behavior in 8.5 by adding [close stdout] at the end.
So I'd say this is the correct behavior, bugs are behind us...
msoferplain2011-08-10 05:09:26
So is it a bug in the test itself? Is it reported, or is anybody fixing it already?
ferrieuxplain2011-08-10 05:14:30
Since it occurs only as a result of today's commit of full-finalize-on -DPURIFY, nobody has had yet a chance to fix it I guess... 

The problem is that the semantics of full finalization are in a grey area -- no specs :P
Maybe we should work to bring back symmetry, so that even in a non-finalized case we get the same output; then we can fix the test.
ferrieuxplain2011-08-10 05:19:29
Ah, I've found the (old) bug that has been snuffing the eofchar for ages:  653218"Channels CloseProc() not called on close"
ferrieuxplain2011-08-10 05:52:54
Hm, strike that one, the problem is different. Opening new bug 3389289 to keep track of it. Let's come back here when that knot is untangled.
ferrieuxplain2012-12-09 19:09:21
Okay, just committed to 8.6 trunk (c6db0a87d1) what was really  an unwanted side-effect from chan-4.6.
Continuiing the discussion about close/exit/eofchar in 3389289.
Log in (anonymous is fine) to add a comment.