Skip to content
Tcl Source Code History Of Ticket 1605269
Login

History Of Ticket 1605269

Artifacts Associated With Ticket 1605269

  1. Ticket change [ab3b022a9a] (rid 101068) by dgp on 2006-11-29 14:06:21:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      When the -singleproc 1 option is
      provided to tcltest, the following
      tests fail, because the Tcl stack
      level is not what's expected:
      
      info-22.0,1,2,5,6,7,8
      info-23.0,1,2,6
      
      Perhaps rewriting these to use a slave
      interp would resolve the matter?
      
    4. foundin initialized to: "obsolete: 8.5a6"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "17. Commands I-L"
    11. title initialized to: "tests fail under -singleproc 1 option"
    12. type initialized to: "Bug"
  2. Ticket change [0fda854bd4] (rid 94864) by dgp on 2006-12-08 21:27:38:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Two of these tests (22.8, 23.6)
      have now started failing without
      the -singleproc 1 options, just
      because some internal details
      of the tcltest package were
      changed.
      
      May be tricky, but we'll need
      some improved tests that test
      what needs testing without
      being sensitive to other stuff.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "dgp"
  3. Ticket change [7cd756cde4] (rid 97147) by das on 2006-12-10 12:24:19:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      adjusted the linenumbers in 22.8 and 23.6 that changed as a result of my change to tcltest.tcl, which takes care of those failures for now, but I agree that these tests should be made more robust and not depend on exact tcltest.tcl line numbers...
      
      for the -singleproc failures, there is a singleProcess constraint that could be applied, at least until they are rewritten to be more robust.
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  4. Ticket change [77cd1ad731] (rid 89834) by das on 2006-12-17 10:49:42:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      for now, applied !singleTestInterp constraint to these tests so that they are not run with -singleproc 1. When they are rewritten to be more robust, the  constraint can be removed again.
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  5. Ticket change [ae0d866a07] (rid 101567) by dgp on 2007-09-12 04:17:05:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      These tests are also sensitive to
      precise line numbers in tcltest,
      so any version other than 2.3a1
      causes failures.
      
      Also sensitive to precise line
      numbers in info.test, so many
      edits of that have potential
      to cause test failures too.
      
      Patching with knowBug on a
      few obvious troublemakers, but
      a reworking of how to test
      [info frame] will be needed
      to do this right.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [7c7f8e2074] (rid 97091) by das on 2008-07-26 04:25:33:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      the new info-37.0 test also fails when run with -singleproc 1, added !singleTestInterp constraint on all three branches.
      
      on HEAD and core-8-5-branch, also updated tests info-22.8 and info-23.6: switch to glob matching (to avoid sensitivity to tcltest.tcl line number changes), remove knowBug constraint, fix expected result.
      
      on core-8-4-branch, added !singleTestInterp to various tip280 tests that were failing with -singleproc 1, and switched info-22.8 & info-23.6 to glob matching.
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "das"
  7. Ticket change [a502d5d52b] (rid 110300) by andreas_kupries on 2008-07-26 04:45:51:

    1. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      
      Daniel, I noticed this today myself and have a local fix using -match glob to make the tests usable for both singleproc 0|1.
      The constraint is wrong.
      Please do not commit your changes.
      I am currently working in this area doing more bug fixes etc.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  8. Ticket change [df1e778a16] (rid 114966) by das on 2008-07-26 04:52:59:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      ah good, obviously the constraint is just a workaround to make all tests pass again, if you have a better fix using glob please feel free to revert (already committed, sorry)
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  9. Ticket change [0e7d9b9f77] (rid 94626) by andreas_kupries on 2008-07-26 06:14:43:

    1. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      8.6/head should be good now.
      Keeping open for 8.5/8.4 branches.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  10. Ticket change [5b8984e16b] (rid 118341) by dgp on 2009-06-26 02:34:10:

    1. icomment:
      
      FWIW, 8.6/head is buggy on this point again.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [7f42a14f70] (rid 97541) by andreas_kupries on 2009-07-14 23:46:28:

    1. closedate changed to: "2009-07-14T16:46:28"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      
      
      allow_comments - 1
      
      Commits made to fix the issue. Was partially NRE-enabled source compiling to byte code and using relative locations, instead of absolute. Fixed by detecting whole-file compile and switching to absolute locations. This exposed larger problems in the handling of literal command arguments in bytecode (for location tracking through uplevel $script), due to literal sharing and compilation baking in the location data. Fixed by restructuring the BCEnter/Release functions and attendant data structures, tracking start line for bytecode, and recompiling when detecting location mismatch between calling context and data baked into the bytecode. Required more changes in coroutine and tailcall support, some data became coro-state we have to switch, and the new BCEnter/Release locations mean that tailcall has to deal with its own arguments, the execution engine forgets their removal due to the special trampolining of it. Lastly fixed bug in the for/while handling, used fixed index for loop body (2, ok for while, bad for for).
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"