.
D 2002-06-24T21:42:08
J assignee dgp
J cmimetype text/plain
J comment \nThe\schanges\sapproved\sin\sTIP\s101\sincluded\sa\spromise\nof\scompatibility.\s\sThe\sactual\simplementation\sfalls\sjust\nslightly\sshort\sof\sthe\smark.\n\nIt\sis\sintended\sthat\swhen\sany\stcltest\soperation\sthat\ncould\sbe\sinfluenced\sby\sconfiguration\sfrom\sthe\ncommand\sline\soccurs,\sthen\stcltest\sis\sauto-configured\nfrom\s::argv\sas\sit\salways\shas\sbeen.\s\sUsers\swishing\nto\suse\s[tcltest::configure]\sto\scontrol\stheir\sown\nconfiguration\sneed\sto\scall\sit\safter\n[package\srequire\stcltest\s2.1]\sand\sbefore\sany\sother\ntcltest\scommands\s(all\sof\sthem\sare\slikely\sto\sauto-configure,\nbecause\sthey\sall\schange\sbehavior\sbased\son\sthe\n-debug\soption)\sor\sreading\sany\stcltest::*\svariables\ndirectly.\n\nThis\sin\sfact\sdoes\swork,\sbut\sit\sis\sset\sup\swith\svariable\ntraces,\swhich\sleads\sto\sits\sown\sproblems.\s\sBecause\ntraces\sare\sdisabled\swhile\straces\sare\sserviced,\sthe\nauto-configuration\scan't\scompletely\swork\swhen\ntriggered\sby\saccess\sto\svariables\sthat\sneed\sfurther\ntraces\sto\scomplete\stheir\sconfiguration.\n\nMore\sspecifically,\sif\sthe\sfirst\stcltest\soperation\sfollowing\na\s[package\srequire\stcltest]\sis\sa\sread\sof\sany\sof\nthe\sfollowing\svariables:\n\n\s\s\s\stcltest::loadFile\n\s\s\s\stcltest::outputFile\n\s\s\s\stcltest::errorFile\n\neither\sdirectly,\sor\sthrough\sthe\scorresponding\ncommands:\n\n\s\s\s\s[tcltest::loadFile]\n\s\s\s\s[tcltest::outputFile]\n\s\s\s\s[tcltest::errorFile]\n\nthen\sthe\sauto-configuration\sfrom\sthe\scommand\nline\sarguments\swill\snot\sbe\scorrect\sfor\sthe\ncorresponding\soption,\sif\sit\sappears\son\sthe\ncommand\sline,\sbecause\sthese\soptions\sneed\nenabled\strace\sto\scomplete\stheir\sconfiguration.\n\nFor\sexample,\sif\sa\stest\sfile\sstarts:\n\n\s\s\s\spackage\srequire\stcltest\n\s\s\s\sputs\s"writing\sto\s[tcltest::outputFile]"\n\nthen\sthe\s"-outfile"\soption\swill\snot\swork\nproperly\son\sthat\stest\sfile.\n\nThe\sfix\sis\sto\sinsert\ssome\sother\soperation\nbefore\sthat\sone;\sor\sto\srequire\s2.1,\sand\ncall\sconfigure\syourself.\n\n\s\s\spackage\srequire\stcltest\n\s\s\sset\sdummy\s[tcltest::debug]\n\s\s\sputs\s"writing\sto\s[tcltest::outputFile]"\n\nOR\n\n\s\spackage\srequire\stcltest\s2.1\n\s\seval\stcltest::configure\s$argv\n\s\sputs\s"writing\sto\s[tcltest::outputFile"\n\nGiven\sthese\sworkarounds,\sand\sthe\sexpected\nrarity\sof\sthese\svery\sparticular\stest\sfile\nconfigurations,\sthis\sbug\swill\snot\sbe\sfixed.\nMost\sfiles\swill\shave\scompatibility\sserviced\nfine,\sbut\sthese\srare\scases\swill\sjust\shave\sto\ndeal\swith\sit.
J foundin obsolete:\s8.4a5
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 34.\stcltest\sPackage
J title incomplete\scompatibility\sin\stcltest\s2.1
J type Bug
K 573338ffffffffffffffffffffffffffffffffff
U dgp
Z 15e9bdb4c3a33e6a63c40698e1f8cf52