Skip to content
Tcl Source Code History Of Ticket 1071322fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1071322fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1071322fffffffffffffffffffffffffffffffff

  1. Ticket change [6acfd0f838] (rid 128220) by aakhter on 2004-11-22 22:17:22:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. 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?
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "aakhter"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to:
      tcltest::Skipped constraint not working for ::, _ and -
      
    11. type initialized to: "RFE"
  2. Ticket change [463571a0e1] (rid 99485) by dgp on 2004-11-23 12:42:52:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [39d465e69c] (rid 112459) by aakhter on 2004-11-23 14:04:58:

    1. 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.
      
      
      
      
    2. login: "aakhter"
    3. mimetype: "text/plain"
    4. username: "aakhter"
  4. Ticket change [63d064c9ed] (rid 92645) by dgp on 2007-09-12 04:22:05:

    1. closedate changed to: "2007-09-11T21:22:05"
    2. closer changed to: "dgp"
    3. 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.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"