Skip to content
Tcl Source Code History Of Ticket 1293539
Login

History Of Ticket 1293539

Artifacts Associated With Ticket 1293539

  1. Ticket change [8ed135f02e] (rid 120175) by hemanglavana on 2005-09-17 04:33:03:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hi,
      
      I have certain tcltests which can hang forever when
      there is bug in the code. For example, the code may be
      invoking vwait command  but the watched variable never
      gets updated.
      
      It would be nice if there was a -timeout option which
      can be configured to an appropriate max value and if
      the tcltest doesn't finish in the specified time, it
      should terminate the test. The default value of
      -timeout can be -1 which means the tcltests can run
      forever, like they currently do.
      
      Hemang.
      
      
      
    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: "hemanglavana"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to:
      RFE: provide configurable -timeout option for tcltests
      
    11. type initialized to: "RFE"
  2. Ticket change [1d2c44274f] (rid 90752) by dkf on 2005-09-20 03:16:59:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      It would be fairly easy to implement this in 8.5 on a
      per-test-file basis using interpreter time limits. On a
      per-test basis, this is hard; it is much easier to write the
      test itself to be robust (e.g. by using an after callback
      that sets all the vwaited variables to "timeout" or some
      other similar magic value).
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"