Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Failed tests safe-9.[67]

Closed / Fixed20157fbd14f28943dbaf6ca4c0937740ffb66e12Created 4 years agoUpdated 4 years ago
Descriptionplain2022-10-18 14:17:07
After merge of the TIP 579 implementation, these tests fail:

==== safe-9.6 interpConfigure widget like behaviour FAILED
==== Contents of test case:

   # this test shall work, don't try to "fix it" unless you *really* know what
   # you are doing (ie you are me :p) -- dl
   list [set i [safe::interpCreate  -noStatics  -nestedLoadOk  -deleteHook {foo bar}]
         safe::interpConfigure $i -accessPath /foo/bar
         safe::interpConfigure $i] [safe::interpConfigure $i -aCCess] [safe::interpConfigure $i -nested] [safe::interpConfigure $i -statics] [safe::interpConfigure $i -DEL] [safe::interpConfigure $i -accessPath /blah -statics 1
	 safe::interpConfigure $i] [safe::interpConfigure $i -deleteHook toto -nosta -nested 0
	 safe::interpConfigure $i]

---- Result was:
{-accessPath {/foo/bar /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0} -statics 0 -nested 1 -deleteHook {foo bar} -autoPath /Users/dgp/fossil/tcl/library} {-accessPath {/foo/bar /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0}} {-nested 1} {-statics 0} {-deleteHook {foo bar}} {-accessPath {/blah /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0} -statics 1 -nested 1 -deleteHook {foo bar} -autoPath /Users/dgp/fossil/tcl/library} {-accessPath {/blah /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0} -statics 0 -nested 0 -deleteHook toto -autoPath /Users/dgp/fossil/tcl/library}
---- Result should have been (glob matching):
{-accessPath * -statics 0 -nested 1 -deleteHook {foo bar}} {-accessPath *} {-nested 1} {-statics 0} {-deleteHook {foo bar}} {-accessPath * -statics 1 -nested 1 -deleteHook {foo bar}} {-accessPath * -statics 0 -nested 0 -deleteHook toto}
==== safe-9.6 FAILED



==== safe-9.7 interpConfigure widget like behaviour (demystified) FAILED
==== Contents of test case:

   # this test shall work, believed equivalent to 9.6
    set i [safe::interpCreate  -noStatics  -nestedLoadOk  -deleteHook {foo bar}]
	   safe::interpConfigure $i -accessPath /foo/bar
    set a [safe::interpConfigure $i]
    set b [safe::interpConfigure $i -aCCess]
    set c [safe::interpConfigure $i -nested]
    set d [safe::interpConfigure $i -statics]
    set e [safe::interpConfigure $i -DEL]
	   safe::interpConfigure $i -accessPath /blah -statics 1
    set f [safe::interpConfigure $i]
	   safe::interpConfigure $i -deleteHook toto -nosta -nested 0
    set g [safe::interpConfigure $i]

    list $a $b $c $d $e $f $g

---- Result was:
{-accessPath {/foo/bar /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0} -statics 0 -nested 1 -deleteHook {foo bar} -autoPath /Users/dgp/fossil/tcl/library} {-accessPath {/foo/bar /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0}} {-nested 1} {-statics 0} {-deleteHook {foo bar}} {-accessPath {/blah /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0} -statics 1 -nested 1 -deleteHook {foo bar} -autoPath /Users/dgp/fossil/tcl/library} {-accessPath {/blah /Users/dgp/fossil/tcl/lib/tcl9/site-tcl /Users/dgp/fossil/tcl/lib/tcl9/9.0 /Users/dgp/fossil/tcl/tcl9/site-tcl /Users/dgp/fossil/tcl/tcl9/9.0} -statics 0 -nested 0 -deleteHook toto -autoPath /Users/dgp/fossil/tcl/library}
---- Result should have been (glob matching):
{-accessPath * -statics 0 -nested 1 -deleteHook {foo bar}} {-accessPath *} {-nested 1} {-statics 0} {-deleteHook {foo bar}} {-accessPath * -statics 1 -nested 1 -deleteHook {foo bar}} {-accessPath * -statics 0 -nested 0 -deleteHook toto}
==== safe-9.7 FAILED
Referenced by1
  • 25cde4a090Fix [20157fbd14]: Failed tests safe-9.[67], since "-autoPath" is added check-in2022-10-18 14:42:27
jan.nijtmanswiki2022-10-18 14:43:12

Should be fixed [here]

Log in (anonymous is fine) to add a comment.