Artifacts Associated With Ticket 577034
Ticket change [ca49acda4b] (rid 122439) by dgp on 2002-07-03 16:08:52:
- assignee initialized to: "melissachawla"
- cmimetype initialized to: "text/plain"
- comment initialized to:
[makeFile] and [makeDirectory] create files and directories. [removeFile] and [removeDirectory] remove them, and if [cleanupTests] discovers they have not been removed, it removes them anyway. This kind of fail-safe cleanup is useful for more than files and directories. The existence of the cleanupTestsHook command testifies that people have a need to add more cleanup operations to [cleanupTests]. Instead new commands [make] and [remove] should be introduced (maybe as subcommands of one command, [resource] ?) that is extensible to control the fail-safe cleanup of any resource needed by a test.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "consolidate [make*] and [remove*]"
- type initialized to: "RFE"
Ticket change [4752bf665d] (rid 99681) by andreas_kupries on 2002-07-04 22:57:01:
- icomment:
Logged In: YES user_id=75003 Proposal: Have the make command remember full paths, etc. and provide a retrieve command which returns it, use the filename as key. Example using the old functions: Instead of set path(foo) [makeFile {...} foo] and later $path(foo) use makeFile {..} foo and later [pathOf foo] Much nicer than to provide the framework for remembering stuff in each test file. - login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [a82df948d4] (rid 98933) by dgp on 2002-07-07 01:01:58:
- assignee changed to: "dgp"
Ticket change [e50f1db9b4] (rid 88067) by andreas_kupries on 2003-04-04 03:47:32:
- icomment:
Logged In: YES user_id=75003 Note tcllib bug "[ 714214 ] test failures: fileutils module" for an instance where [makeFile] was used for the creation of binary data, and failing. The problem is currently being worked around, but it should be kept in mind as a place to change when this FR is implemented. https://sourceforge.net/tracker/index.php? func=detail&aid=714214&group_id=12883&atid=112883
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment: