|
2002-04-17
| ||
| 05:35 | • Closed ticket [544546ffff]: io.test namespace patch plus 6 other changes artifact: c618f5c829 user: dgp | |
| 05:11 | • Ticket [544546ffff]: 4 changes artifact: 4289c1763c user: andreas_kupries | |
| 05:06 | • Ticket [544546ffff]: 4 changes artifact: 2793b20b28 user: dgp | |
| 04:45 | • Ticket [544546ffff]: 6 changes artifact: 4727b7c3a8 user: andreas_kupries | |
|
2002-04-16
| ||
| 14:18 | • Ticket [544546ffff]: 4 changes artifact: c87f301a6a user: dgp | |
| 14:18 | • Add attachment iotest.patch to ticket [544546ffff] artifact: d5e518a06b user: dgp | |
| 07:18 | • New ticket [544546ffff] io.test namespace patch. artifact: 9b97d078e3 user: dgp | |
io.test namespace patch
Closed / Accepted544546ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-04-16 07:18:46
Here's a patch that puts the whole operation of the io.test test file into its own namespace for more reliable cleanup.
dgpplain2002-04-16 14:18:46
File Added - 21270: iotest.patch
andreas_kupriesplain2002-04-17 04:45:08
Logged In: YES
user_id=75003
The patch applies cleany and does not create additional
errors when executing the testsuite of tcl. I accept it.
The only misgivings I had while looking at it was that it
actually contains two logically different changes:
(1) The move into the namespace
(2) Usage of newer tcltest features to make the
code clearer. Example:
- set f [open "|[list $::tcltest::tcltest cat]" w+]
+ set f [open "|[list [interpreter] cat]" w+]
I accept both. Back to the submitter for actual integration.
dgpplain2002-04-17 05:06:55
Logged In: YES user_id=80530 Ack! You're right, I introduced tcltest 2 dependencies. Since you don't mind, I'm going to keep them because 1) They make the code simpler, and easier to read. 2) I don't want to go through all that file again so soon. I'll add the requirement to the [package require] before commit. If tcltest 1 support is important, it isn't hard to hack in replacements for the [interpreter] and [testConstraint] commands.
andreas_kupriesplain2002-04-17 05:11:47
Logged In: YES user_id=75003 Given that tcltest 2 will be distributed with 8.4 final we truly don't have to care about these dependencies. Well, except for using the correct require statement. I don't see tcltest 1 support as important, not for the tcl testsuite itself. It comes with tcl and therefore tcl can make use of its newest features without fear.
dgpplain2002-04-17 05:35:31
Logged In: YES user_id=80530 committed to HEAD (8.4a5)
Log in (anonymous is fine) to add a comment.
Attachments:
- iotest.patch [download] added by dgp on 2002-04-16 14:18:46. [details]