Skip to content
Tcl Source Code History Of Ticket 218937
Login

History Of Ticket 218937

Artifacts Associated With Ticket 218937

  1. Ticket change [908ccd7596] (rid 120470) by nobody on 2000-10-26 01:08:12:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2839 Bug
      Version: 8.2
      SubmitDate: '1999-09-20'
      LastModified: '1999-09-21'
      Severity: SER
      Status: Released
      Submitter: techsupp
      ChangedBy: jenn
      OS: Other
      Machine: NA
      FixedDate: '1999-09-21'
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Andreas Kupries
      
      
      ReproducibleScript:
      
      
      
      
      ObservedBehavior:
      
      The package defines some hook procedures allowing test suites
      
          to extend the package in certain places, f.e. for the
      
          definition of new constraints and commandline arguments.
      
      
          As constraint definitions and commandline arguments are
      
          initialized the moment the package is actually loaded we have
      
          to define our own implementations of these hooks before that,
      
          or they come too late and are not used. But as the package
      
          does not check for the existence of the hook procedures it
      
          will overwrite our definitions during the load with its own
      
          and empty definitions. Not a good thing.
      
      
      DesiredBehavior:
      
      Proper usage of the redefined hooks.
      
      
      Patch:
      
      *** tcltest.tcl.orig Wed Sep 15 19:15:20 1999
      
      --- tcltest.tcl      Wed Sep 15 19:14:36 1999
      
      ***************
      
      *** 341,347 ****
      
            return
      
        }
      
        
      
      ! proc ::tcltest::initConstraintsHook {} {}
      
      
        # ::tcltest::initConstraints --
      
        #
      
      --- 341,349 ----
      
            return
      
        }
      
        
      
      ! if {[namespace inscope ::tcltest info procs initConstraintsHook] == {}} {
      
      !     proc ::tcltest::initConstraintsHook {} {}
      
      ! }
      
      
        # ::tcltest::initConstraints --
      
        #
      
      ***************
      
      *** 621,627 ****
      
        #       Hook used for customization of display of usage information.
      
        #
      
      
      ! proc ::tcltest::PrintUsageInfoHook {} {}
      
      
        # ::tcltest::PrintUsageInfo
      
        #
      
      --- 623,631 ----
      
        #       Hook used for customization of display of usage information.
      
        #
      
      
      ! if {[namespace inscope ::tcltest info procs PrintUsageInfoHook] == {}} {
      
      !     proc ::tcltest::PrintUsageInfoHook {} {}
      
      ! }
      
      
        # ::tcltest::PrintUsageInfo
      
        #
      
      ***************
      
      *** 677,689 ****
      
            return
      
        }
      
        
      
      ! # ::tcltest::processCmdLineArgsFlagsHook --
      
        #
      
        #This hook is used to add to the list of command line arguments that are
      
        #       processed by ::tcltest::processCmdLineArgs. 
      
        #
      
      
      ! proc ::tcltest::processCmdLineArgsAddFlagsHook {} {}
      
      
        # ::tcltest::processCmdLineArgsHook --
      
        #
      
      --- 681,695 ----
      
            return
      
        }
      
        
      
      ! # ::tcltest::processCmdLineArgsAddFlagsHook --
      
        #
      
        #This hook is used to add to the list of command line arguments that are
      
        #       processed by ::tcltest::processCmdLineArgs. 
      
        #
      
      
      ! if {[namespace inscope ::tcltest info procs processCmdLineArgsAddFlagsHook] == {}} {
      
      !     proc ::tcltest::processCmdLineArgsAddFlagsHook {} {}
      
      ! }
      
      
        # ::tcltest::processCmdLineArgsHook --
      
        #
      
      ***************
      
      *** 694,700 ****
      
        #flags      The flags that have been pulled out of argv
      
        #
      
      
      ! proc ::tcltest::processCmdLineArgsHook {flag} {}
      
      
        # ::tcltest::processCmdLineArgs --
      
        #
      
      --- 700,708 ----
      
        #flags      The flags that have been pulled out of argv
      
        #
      
      
      ! if {[namespace inscope ::tcltest info procs processCmdLineArgsHook] == {}} {
      
      !     proc ::tcltest::processCmdLineArgsHook {flag} {}
      
      ! }
      
      
        # ::tcltest::processCmdLineArgs --
      
        #
      
      ***************
      
      *** 1120,1126 ****
      
        #       additional things that should be done at cleanup.
      
        #
      
      
      ! proc ::tcltest::cleanupTestsHook {} {}
      
        
      
        # test --
      
        #
      
      --- 1128,1136 ----
      
        #       additional things that should be done at cleanup.
      
        #
      
      
      ! if {[namespace inscope ::tcltest info procs cleanupTestsHook] == {}} {
      
      !     proc ::tcltest::cleanupTestsHook {} {}
      
      ! }
      
        
      
        # test --
      
        #
      
      
      PatchFiles:
      
      tcltest.tcl
      
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "Hook redefinition malaise"
    11. type initialized to: "Bug"
  2. Ticket change [1e12198d38] (rid 90912) by welch on 2000-10-26 08:32:14:

    1. closedate changed to: "2000-10-26T01:32:14"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"