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

History Of Ticket 926088ffffffffff

Artifacts Associated With Ticket 926088ffffffffff

  1. Ticket change [c35f34c868] (rid 111648) by vincentdarley on 2004-03-30 15:52:04:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      On Windows, if I do 'nmake -f makefile.vc test', the
      test suite runs, but on the registry tests it always
      picks up an older registry package somewhere on my
      system and uses that instead.  This means that some
      registry tests fail since subcommands are missing.
      
      The test suite should ensure it sets auto_path/etc
      correctly so that the build being tested is actually used.
      
      Vince.
      
      ----
      
      registry.test
      
      ==== registry-1.2 argument parsing for registry command
      FAILED
      ==== Contents of test case:
      
          list [catch {registry foo} msg] $msg
      
      ---- Result was:
      1 {bad option "foo": must be delete, get, keys, set,
      type, or values}
      ---- Result should have been (exact matching):
      1 {bad option "foo": must be broadcast, delete, get,
      keys, set, type, or values
      
      ==== registry-1.2 FAILED
      
      
      ==== registry-12.1 BroadcastValue FAILED
      ==== Contents of test case:
      
          list [catch {registry broadcast} msg] $msg
      
      ---- Result was:
      1 {bad option "broadcast": must be delete, get, keys,
      set, type, or values}
      ---- Result should have been (exact matching):
      1 {wrong # args: should be "registry broadcast keyName
      ?-timeout millisecs?"}
      ==== registry-12.1 FAILED
      
      
      ==== registry-12.2 BroadcastValue FAILED
      ==== Contents of test case:
      
          list [catch {registry broadcast "" -time} msg] $msg
      
      ---- Result was:
      1 {bad option "broadcast": must be delete, get, keys,
      set, type, or values}
      ---- Result should have been (exact matching):
      1 {wrong # args: should be "registry broadcast keyName
      ?-timeout millisecs?"}
      ==== registry-12.2 FAILED
      
      
      ==== registry-12.3 BroadcastValue FAILED
      ==== Contents of test case:
      
          list [catch {registry broadcast "" - 500} msg] $msg
      
      ---- Result was:
      1 {bad option "broadcast": must be delete, get, keys,
      set, type, or values}
      ---- Result should have been (exact matching):
      1 {wrong # args: should be "registry broadcast keyName
      ?-timeout millisecs?"}
      ==== registry-12.3 FAILED
      
      
      ==== registry-12.4 BroadcastValue FAILED
      ==== Contents of test case:
      
          list [catch {registry broadcast {Environment}} msg]
      $msg
      
      ---- Result was:
      1 {bad option "broadcast": must be delete, get, keys,
      set, type, or values}
      ---- Result should have been (exact matching):
      0 {1 0}
      ==== registry-12.4 FAILED
      
      
      ==== registry-12.5 BroadcastValue FAILED
      ==== Contents of test case:
      
          list [catch {registry b {}} msg] $msg
      
      ---- Result was:
      1 {bad option "b": must be delete, get, keys, set,
      type, or values}
      ---- Result should have been (exact matching):
      0 {1 0}
      ==== registry-12.5 FAILED
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "vincentdarley"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "test suite picks up old registry version"
    11. type initialized to: "Bug"
  2. Ticket change [89512d4909] (rid 132006) by dgp on 2004-03-31 08:28:44:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      auto_path setting are good,
      but best to use constraints on
      the tests as well.  Ought to be
      some history on this subject
      in c.l.t....
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "32. registry Package"
    6. username: "dgp"
  3. Ticket change [b3f7a87115] (rid 124936) by dgp on 2004-03-31 08:45:17:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      ...specifically I like the strategy in:
      
      http://groups.google.com/groups?selm=slrnb3ca3s.liu.dgp%40clover.cam.nist.gov
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [153036581d] (rid 124528) by kennykb on 2004-04-01 00:57:59:

    1. subsystem changed to: "53. Configuration and Build Tools"
  5. Ticket change [f84811b6ff] (rid 91514) by kennykb on 2004-04-01 00:58:00:

    1. assignee changed to: "mdejong"
    2. icomment:
      Logged In: YES 
      user_id=99768
      
      registry.test appears to be doing The Right Things;
      instead 'make test' itself appears to be the trouble spot.
      
      What's happening here is that registry.test contains its own
      explicit [load] of the registry package, but that [load] is
      not effective, because the registry package has already been
      loaded by the [package require] in msgcat.tcl.
      
      The way to fix it, according to dgp, is to change the
      'test:' rule in the makefile to set TCLLIBPATH so that both
      the 'library/' directory and the directory in which tclregXX.dll
      was built appear in the path.  That way, [package require]
      will hit the newly-built versions rather than anything that
      is installed.
      
      dgp's newsgroup posting, while it would address the
      specific failures, does not address the problem that the
      package-under-test is not the one that is loaded.
      
      Note that both configure/make and makefile.vc have the
      problem.
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. username: "kennykb"
  6. Ticket change [32f097d13d] (rid 93702) by dgp on 2004-04-01 02:13:37:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Ick.  I'd forgetten the detail that
      the pkgIndex.tcl file and the
      actual DLL it is paired with are
      in different source directories.
      
      Looks like the pkgIndex.tcl file
      for registry can't really function
      until the package is installed.
      
      the original strategy of a direct
      [load] got around that.  Is there
      any way to make that [load]
      effective even with an existing
      registry package already loaded?
      can [package forget] help?
      
      
      Really would be better to get
      registry in a directory by itself
      under a proposed "pkgs" directory.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [c3f93939c9] (rid 111764) by davygrvy on 2004-04-10 06:51:22:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Personally, I've found -load and -loadfile to effective in 
      sqaushing this for other projects.  Example:
      
      test : release
      $(TCLSH) .\tests\all.tcl $(TESTFLAGS) -loadfile <<
      load [file normalize $(IOCPLIB:\=/)]
      <<
      
      
      And in the top of my *.test files I add this line:
      
      ::tcltest::loadTestedCommands
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  8. Ticket change [8f9649ce96] (rid 120302) by dgp on 2004-04-13 00:26:42:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      An excellent observation!
      
      That will/would work even
      better with registry packaged
      as separate source/docs/test
      under a tcl/pkgs/ directory.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [c4de648b3b] (rid 111909) by vincentdarley on 2004-04-23 19:16:40:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Note: the same problem may well be true of the 'dde' package
      as well, just that hasn't changed recently?
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  10. Ticket change [85f9351e2f] (rid 131424) by vincentdarley on 2004-07-02 23:56:36:

    1. assignee changed to: "davygrvy"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      There seem to be some good solutions suggested here.  Any
      chance that one of them can be checked in so this report can
      be closed?
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. username: "vincentdarley"
  11. Ticket change [5f3e7031d6] (rid 115778) by davygrvy on 2004-09-08 14:16:01:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Here's a patch for it.  win/Makefile.in and win/makefile.bc
      changes missing.  We need those before I can commit this.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  12. Ticket change [db05c58321] (rid 107888) by davygrvy on 2004-09-08 14:16:02:

    1. icomment:
      
      
      File Added - 100726: patch.txt
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  13. Ticket change [39b128e037] (rid 112434) by davygrvy on 2004-10-27 04:32:47:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      here's another patch..  Seems more complete and tested.
      It still needs win/Makefile.in and win/makefile.bc changes.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  14. Add attachment "patch.txt" [1baab373a8] (rid 123189) by davygrvy on 2004-10-27 04:32:49.

  15. Ticket change [83c1feda54] (rid 117433) by davygrvy on 2004-10-27 04:32:50:

    1. icomment:
      
      
      File Deleted - 100726: 
      
      
      
      File Added - 106589: patch.txt
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  16. Ticket change [454418b633] (rid 99321) by davygrvy on 2004-10-28 03:56:21:

    1. closedate changed to: "2004-10-27T20:56:21"
    2. closer changed to: "davygrvy"
    3. icomment:
      Logged In: YES 
      user_id=7549
      
      committed to HEAD.
      
      
    4. login: "davygrvy"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "davygrvy"