Artifacts Associated With Ticket 1071322
Ticket change [6acfd0f838] (rid 128220) by aakhter on 2004-11-22 22:17:22:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tcltest.tcl:tcltest::Skipped{} } elseif {[regexp {[^.a-zA-Z0-9 \n\r\t]+} $constraints] != 0} { # something like {a || b} should be turned into # $testConstraints(a) || $testConstraints(b). regsub -all {[.\w]+} $constraints {$testConstraints(&)} c catch {set doTest [eval expr $c]} } is not treating a single constraint with :: in it eg (a::b::c) as singular but as seperate constraints (a, b and c) Would it be possible to add ':','-' and '_' to the above regex? - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "aakhter"
- subsystem initialized to: "34. tcltest Package"
- title initialized to:
tcltest::Skipped constraint not working for ::, _ and -
- type initialized to: "RFE"
Ticket change [463571a0e1] (rid 99485) by dgp on 2004-11-23 12:42:52:
- icomment:
Logged In: YES user_id=80530 Thanks for filing the request. I think the _ request is correct. The : and - characters are a more difficult call, because those characters are operators in expressions. unix ? unixFoo : winFoo Of course, the very notion of constraint expressions is just DWIM brokenness, and won't appear in the next major version if I have anything to say about it. Until then, though, I'm a bit shy about breaking existing test suites.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [39d465e69c] (rid 112459) by aakhter on 2004-11-23 14:04:58:
- icomment:
Logged In: YES user_id=736414 at least for unix ? unixFoo : winFoo adding : should be fine, as the ? will match this as an expression. can't think of any other case where : would be used in an expression. The '-' I can't find a workaround for. It would be good to have a different way to have expression constraints and use constraints only for the ::tcltest::testConstraint stuff.
- login: "aakhter"
- mimetype: "text/plain"
- username: "aakhter"
- icomment:
Ticket change [63d064c9ed] (rid 92645) by dgp on 2007-09-12 04:22:05:
- closedate changed to: "2007-09-11T21:22:05"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: NO _ and : added to allowed characters in a constraint name for tcltest 2.2.9 and 2.3b1. "-" still disallowed, since that means subtraction in expressions.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"