| Ticket UUID: | 1414159 | |||
| Title: | incorrect prefix stripping and formatting problems | |||
| Type: | Bug | Version: | None | |
| Submitter: | mic42 | Created on: | 2006-01-25 00:23:34 | |
| Subsystem: | bench | Assigned To: | andreas_kupries | |
| Priority: | 4 | Severity: | ||
| Status: | Closed | Last Modified: | 2006-06-14 06:21:13 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2006-06-13 23:21:13 | |||
| Description: |
The bench::out::* functions and probably other parts of the package perform prefix stripping on array keys by using the following construction: set ip [lindex [split $key :] 1] This fails when $key contains more than on :, an example are package names with namespace qualifiers or paths on windows or using URL notation which include ':'. -- For packages with no bench files provided the result is not sufficient. e.g. sak.tcl bench -format text pop3 produces just an empty table but not a message that no benchmarks were found. | |||
| User Comments: |
andreas_kupries added on 2006-06-14 06:21:13:
Logged In: YES user_id=75003 Ok, did the rewrite of the internals, all keys are lists now. With that all issues have been addressed. andreas_kupries added on 2006-06-14 05:55:28: Logged In: YES user_id=75003 However, using lists as keys requires a full-blown rewrite of the internals, as that requires changes everywhere. andreas_kupries added on 2006-06-14 05:53:52: Logged In: YES user_id=75003 You get the message about 'no benchmarks' when specifying "-verbose". I have chnaged the default level now to 'warn' (from 'critical', and elevated the message itself from 'info' to 'warn' as well. Regarding the splitting it might be better to simply make all keys fully fledged lists. That way we get correct quoting all the way. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki