Overview
| Artifact ID: | abe1cf68ac877737869ff9f51ec42cf082f58cfe |
|---|---|
| Ticket: | 541637ffffffffffffffffffffffffffffffffff
{puts stdout $msg} fails inside test |
| User & Date: | kenstir on 2002-04-09 17:25:41 |
Changes
- assignee changed to: "melissachawla"
- cmimetype changed to: "text/plain"
- comment changed to:
If you run the attached foo.test, you'll get an error (against CVS HEAD as of today). There are three things wrong and I could only figure out how to fix two: 1) [outputChannel] doesn't work from within tcltest::replace namespace. Fixed by specifying complete namespace. 2) We don't want to append the output to outData twice. Fixed by calling return after figuring out we could handle the puts. 3) The test now runs but still doesn't pass. Somehow the [concat] inside tcltest::test is stripping the newline from the -output option. I don't understand why the concat is done so I'm not sure the best way to fix it. Hopefully this 2/3 patch is useful. Regards, a tcltest fan, Ken
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kenstir"
- subsystem changed to: "34. tcltest Package"
- title changed to: "{puts stdout $msg} fails inside test"
- type changed to: "Patch"