Skip to content
Tcl Source Code History Of Ticket 577038ffffffffff
Login

History Of Ticket 577038ffffffffff

Artifacts Associated With Ticket 577038ffffffffff

  1. Ticket change [a2779ede6b] (rid 109898) by dgp on 2002-07-03 16:12:28:

    1. assignee initialized to: "melissachawla"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      [loadTestedCommands] is to be used to load
      in the commands to be tested, as specified by
      -load or -loadfile.  However, in a multi-file
      test suite, each file must be able to run as a
      self-contained script to satisfy the 
      [configure -singleproc false] operations.
      This means that the file or script to be shared
      among all files must be named in all files.
      
      This means that the whole [loadTestedCommands]
      machinery is hardly better than the
      traditional [source defs.tcl] ever was.
      
      A better scheme is needed to be able to share
      common code among many test files in a test suite.
      
    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: "dgp"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "better -loadfile sharing"
    11. type initialized to: "RFE"
  2. Ticket change [db5f82f422] (rid 107953) by andreas_kupries on 2002-07-03 23:19:06:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I believe the -singleproc stuff came after 
      [loadTestedCommands] was invented, so in the beginning it 
      was better. Currently have no idea for a better scheme tough.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  3. Ticket change [acb1f35f8c] (rid 101339) by dgp on 2002-07-07 01:01:58:

    1. assignee changed to: "dgp"
  4. Ticket change [d9049d5fa3] (rid 107543) by dgp on 2003-02-05 05:08:02:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I've looked at this again recently, and
      the status quo might not be as bad as
      I thought, given certain usage patterns.
      
      If one has a multi-file test suite, and
      defines the [configure -loadfile] in the
      all.tcl file of that test suite, then in each
      *.test file calls [loadTestedCommands].
      This allows the file containing common
      code to be defined in only one place
      (the all.tcl file).  This will work with any
      value of the -singleproc option.
      
      The restriction is that if one wants to run
      only one *.test file of the multi-file test suite,
      the right way to do that is with the "-file" 
      command line option:
      
          tclsh all.tcl -file chosenFile.test
      
      Attempting to directly evaluate the test file,
      
          tclsh chosenFile.test
      
      will fail because the all.tcl file is never 
      evaluated to define the loadFile.
      
      So, as long as a particular set of habits
      are maintained, the existing -load*
      options work fine.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [ed7bebe709] (rid 103888) by dgp on 2003-04-02 02:33:47:

    1. closedate changed to: "2003-04-01T19:33:47"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      I've addressed this issue with improved
      instructions in tcl/tests/README.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Rejected"
    7. status changed to: "Closed"
    8. username: "dgp"