| Ticket UUID: | 2022905 | |||
| Title: | 74 test failures with Tcl HEAD (wrong # args) | |||
| Type: | Bug | Version: | None | |
| Submitter: | msofer | Created on: | 2008-07-20 15:43:43 | |
| Subsystem: | Build System & Testing | Assigned To: | andreas_kupries | |
| Priority: | 2 | Severity: | ||
| Status: | Closed | Last Modified: | 2026-11-21 08:42:16 | |
| Resolution: | Fixed | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-11-21 08:42:16 | |||
| Description: |
Many of tcllib's tests depend on the precise form of error messages emmitted by Tcl. Tcl makes no guarantee about that. Recently there was a reform of Tcl's "wrong # args" messages, and tcllib shows 74 test failures. I have not verified all of them, but those I did happen to be of this kind. Testing for error messages should be as lax as possible. | |||
| User Comments: |
serhiy.storchaka added on 2026-11-21 08:42:16:
Fixed for tcllib 1.11 by [de08ab7c7b], which taught the test helpers the 8.6 "wrong # args" format (?arg ...?); the remaining snit tests were updated in [1659adbbcf] (tcllib 1.12). Verified: the 2008-07-20 sources fail 52 tests with wrong#args differences under Tcl 8.6.0; trunk has no failures in the same modules under 8.6 and 9.1. andreas_kupries added on 2008-07-21 23:53:24: Logged In: YES user_id=75003 Originator: NO Notes * Lowering the priority as I am not inclined to chase error message differences during an alpha cycle. * The testsuite currently has quite a bit of code to handle the wrong#args differences between <= 8.4, and 8.5. It might be possible to reuse that framework to handle the 8.6 changes as well. Or, of course, to go with the proposal and use tcltest2 and -glob/-regexp matching to check only the most relevant pieces of the error message. msofer added on 2008-07-21 12:28:42: Logged In: YES user_id=148712 Originator: YES All these errors are indeed "inconsequential". I verified that all but one error are due to the new "wrong # args" format for commands taking args. The remaining one (tree-tcl-4.4.17) is due to a slightly changed stack trace. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki