Tcl Source Code

View Ticket
Login
Ticket UUID: 564656
Title: -output supresses -verbose {start skip}
Type: Bug Version: obsolete: 8.4a5
Submitter: dgp Created on: 2002-06-05 01:09:02
Subsystem: 34. tcltest Package Assigned To: dgp
Priority: 3 Low Severity:
Status: Closed Last Modified: 2002-06-26 10:25:16
Resolution: Fixed Closed By: dgp
    Closed on: 2002-06-26 03:25:16
Description:
The -verbose start and -verbose skip options are
handled within [tcltest::RunTest], where the
verbose message is printed with [puts] if requested.

Problem is that when the containing [test] has been
giving the "-output" option, then [puts] has already
been redefined by then to collect strings sent to
[puts] for comparison against expected output.

Some refactoring is probably required to fix this.
User Comments: dgp added on 2002-06-26 10:25:16:
Logged In: YES 
user_id=80530

committed

dgp added on 2002-06-26 10:22:35:

File Added - 25833: 564656.patch

dgp added on 2002-06-26 10:22:34:
Logged In: YES 
user_id=80530

here's a patch that fixes the problem,
as well as fixes to errors in the
test suite exposed by a corrected
tcltest.

Attachments: