Skip to content
Tcl Source Code Artifact [f1d3966f1f]
Login

Artifact [f1d3966f1f]

Artifact f1d3966f1fd1821ca2a17783091b3fd0407b516b:

Ticket change [f1d3966f1f] - Ticket [3549770fffffffff|3549770fff] <i>Multiple test failures running tcltest outside build tree</i> status still Open with 4 other changes by twylite on 2012-07-30 19:17:44.
D 2012-07-30T19:17:44
J icomment >\sSo,\swhat's\swrong\swith\sthe\sfollowing\sreasoning.\n\nIt\sworks,\sbut\sit's\sbrittle.\s\sThere\sare\snow\s4+\splaces\sthat\sthe\sreg/dde\sversion\snumbers\smust\sbe\skept\sin\ssync.\s\sTcl\sbuilds\swith\snewer\sversions\sof\sreg/dde\swill\snecessarily\sfail\sagainst\solder\sversions\sof\sthe\stest\ssuite\s(which\sgenerally\sshouldn't\shappen\sin\sregression\stesting).\s\sStill,\sit\sworks,\sand\sit's\syour\scall\son\swhat\sfix\sgets\saccepted.\n\n>\sYes\sthat's\sthe\sway\sto\sassure\sthe\sright\sversion\sis\sloaded.\s\n\nThe\stest\sshould\snot\scare\sthat\sthe\s'right\sversion'\sis\sloaded.\s\sThe\stest\sshould\scare\sonly\sthat\sa\sversion\swith\sthe\sminimum\srequired\scompatibility\sis\sloaded.\s\sUsing\s-exact\smakes\sthe\stest\sunnecessarily\sspecific\sand\sincurs\sadditional\swork\sfor\sfuture\smaintainers.\s\sIn\sshort,\sit's\sbrittle.\n\nThe\stest\sexecution\senvironment\sshould\sensure\sthat\sthe\sDLL\sintended\sfor\stesting\sis\sthe\sone\sactually\sloaded;\sin\sthe\sbuild\senvironment\sthis\srequires\ssome\sadditional\slogic\sto\scommunicate\sthe\sDLL\slocation\sto\sthe\s.test\sfile.\n\n>\sI\snow\sadded\san\sadditional\stest-case\swinDde-1.0\sand\sregistry-1.0,\swhich\scheck\swhether\sthe\sright\sdll\sis\stested.\sIf\snot,\sthis\stest\swill\sfail\sbut\sall\sothers\swill\srun\snormally.\n\nThese\stests\sare\sredundant\s-\sif\sthe\s[package\srequire\s-exact]\sfails\sthen\sthe\sreg/dde\sconstraint\swill\sbe\s0\sand\sthese\stests\swill\snever\sexecute.\s\sConversely\sif\sthe\s[package\srequire\s-exact]\spasses\sthen\sthe\sdde/reg\sconstrained\stests\swill\sexecute\sbut\swe're\salready\sguaranteed\sof\sthe\scorrect\sDLL\sversion.\n\n>\sfilesystem-7.1.[12]\sshould\spass\snow\sfrom\soutside\sthe\sbuild\senvironment.\n\nThanks,\swill\stest\sshortly.\n\n
J login twylite
J mimetype text/plain
J username twylite
K 3549770fffffffffffffffffffffffffffffffff
U twylite
Z ab54271a69c8894e1797c827fca78957