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

History Of Ticket 612804ffffffffff

Artifacts Associated With Ticket 612804ffffffffff

  1. Ticket change [d705c0033a] (rid 123905) by pifpafpuf on 2002-09-22 12:18:15:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I am using
      
        -output "\n<HTML>xxx</HTML>\n"
      
      as an option for [test], but internally the newlines
      are trimmed and the
      actually generated output is compared with
      "<HTML>xxx</HTML>".
      
      The problem seems to arise around line 1802 of tcltest.tcl:
      
          # The old test format can't have a 3rd argument
      (constraints or
          # script) that starts with '-'.
          if {[string match -* [lindex $args 0]]
          || ([llength $args] <= 1)} {
      if {[llength $args] == 1} {
          set list [SubstArguments [lindex $args 0]]
          foreach {element value} $list {
      set testAttributes($element) $value
          }
          foreach item {constraints match setup body cleanup \
          result returnCodes output errorOutput} {
      if {[info exists testAttributes(-$item)]} {
          set testAttributes(-$item) [uplevel 1 \
          ::concat $testAttributes(-$item)]
      ############## The whitespace is lost here.
      }
          }
      
      
      
    4. foundin initialized to: "obsolete: 8.4.0"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "pifpafpuf"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "space lost from -output option of test"
    11. type initialized to: "Bug"
  2. Ticket change [85c4eab3f1] (rid 131374) by dgp on 2002-09-23 01:26:22:

    1. closedate changed to: "2002-09-22T18:26:22"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      Can you provide a complete [test] command that demonstrates
      the problem?
      
      It appears you may be using the 3 argument form of [test].
      Don't do that.  That form lacks documentation of its
      substitution
      rules, so I can't fix "bugs" in it, because it's impossible to
      distinguish a bug from intended (if bizarre) behavior.
      
      If -output does not work in the normal form of [test], please
      followup.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Pending"
    8. username: "dgp"
  3. Ticket change [8e407fe0bf] (rid 120078) by pifpafpuf on 2002-09-24 02:26:39:

    1. icomment:
      Logged In: YES 
      user_id=367359
      
      I did not know that the 3 arg version is frowned upon.
      
      I agree on the "bizarre behaviour". It is in fact the reason
      why I
      did not dare to do create a patch.
      
        Harald.
      
      
    2. login: "pifpafpuf"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "pifpafpuf"
  4. Ticket change [4260876343] (rid 116365) by dgp on 2002-09-24 02:29:57:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      You mean the comments in the documentation
      were not harsh enough? :-)
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [5db335e720] (rid 115515) by dgp on 2002-09-24 02:30:28:

    1. closedate changed to: "2002-09-23T19:30:28"
    2. closer changed to: "dgp"
    3. status changed to: "Closed"