Skip to content
Tcl Source Code Artifact [dd18cc78f2]
Login

Artifact [dd18cc78f2]

Artifact dd18cc78f24f9e0fc132b5c037b9efcb290ada20:

Ticket change [dd18cc78f2] - Ticket [512214ffffffffff|512214ffff] <i>allow skipping of constraint init code</i> status still Open with 4 other changes by dgp on 2002-06-06 22:21:21.
D 2002-06-06T22:21:21
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nHere's\sa\spatch\sthat\sconverts\stcltest\sto\sdo\n"lazy"\sinitialization\sof\stest\sconstraints.\nThe\svalue\sof\sa\sbuilt-in\sconstraint\sis\snot\ndetermined\sunless/until\sa\s[test]\scommand\nthat\sdepends\son\sthat\sconstraint\sis\sevaluated.\nThis\sshould\saddress\sthe\sproblem.\n\nThe\spatch\salso\sdeprecates\sthe\s[initConstraintsHook]\nbecause\scontraints\sare\sno\slonger\sinitialized\sat\npackage\sload\stime\sby\sdefault.\s\sFor\scompatibility,\sif\nan\s[initConstraintsHook]\shas\sbeen\sdefined,\stcltest\nreverts\sto\sthe\sold\sbehavior\sof\sinitialization\sof\nconstraints\sat\spackage\sload\stime.\s\sThis\sshould\sbe\ndiscouraged.\s\sThe\shook\sis\scompletely\sunnecessary;\nany\stcltest\suser\sthat\swants\sto\sadd\sa\sconstraint\scan\ndo\sso\sdirectly\sby\scalling\sthe\s[testConstraint]\scommand.\nNo\sneed\sfor\sa\shook\sat\sall.\n\nThis\spatch\salso\scleans\sup\sthe\smess\sthat\swas\sthe\n[limitConstraints]\scommand.\s\sSome\scomments/documentation\nindicated\sthis\scommand\stook\sa\sboolean\svalue;\ssome\sthat\nit\stook\sa\slist\svalue.\s\sThe\sexisting\scode/tests\sdid\snot\nappear\sto\sdo\sanything\ssensible.\s\sI\sreplaced\sthe\swhole\nthings\swith\sa\sconsistent\scommand\sthat\saccepts\sa\sboolean\nvalue\sindicating\swhether\sor\snot\sto\slimit\srunning\sof\s[test]s\nto\sthose\swith\sconstraints\sspecified\sby\sthe\s"-constraints"\ncommand\sline\soption.\n\ncommitting\sto\stcltest\s2.1\s(Tcl\s8.4a5)\n
J login dgp
J mimetype text/plain
J username dgp
K 512214ffffffffffffffffffffffffffffffffff
U dgp
Z cf89080337cfa7120d9dcf0cb6d6e9b2