Skip to content
Tcl Source Code Artifact [d9049d5fa3]
Login

Artifact [d9049d5fa3]

Artifact d9049d5fa3f2f2382cc6e0019a98cbc3e8ee22c5:

Ticket change [d9049d5fa3] - Ticket [577038ffffffffff|577038ffff] <i>better -loadfile sharing</i> status still Open with 4 other changes by dgp on 2003-02-05 05:08:02.
D 2003-02-05T05:08:02
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nI've\slooked\sat\sthis\sagain\srecently,\sand\nthe\sstatus\squo\smight\snot\sbe\sas\sbad\sas\nI\sthought,\sgiven\scertain\susage\spatterns.\n\nIf\sone\shas\sa\smulti-file\stest\ssuite,\sand\ndefines\sthe\s[configure\s-loadfile]\sin\sthe\nall.tcl\sfile\sof\sthat\stest\ssuite,\sthen\sin\seach\n*.test\sfile\scalls\s[loadTestedCommands].\nThis\sallows\sthe\sfile\scontaining\scommon\ncode\sto\sbe\sdefined\sin\sonly\sone\splace\n(the\sall.tcl\sfile).\s\sThis\swill\swork\swith\sany\nvalue\sof\sthe\s-singleproc\soption.\n\nThe\srestriction\sis\sthat\sif\sone\swants\sto\srun\nonly\sone\s*.test\sfile\sof\sthe\smulti-file\stest\ssuite,\nthe\sright\sway\sto\sdo\sthat\sis\swith\sthe\s"-file"\s\ncommand\sline\soption:\n\n\s\s\s\stclsh\sall.tcl\s-file\schosenFile.test\n\nAttempting\sto\sdirectly\sevaluate\sthe\stest\sfile,\n\n\s\s\s\stclsh\schosenFile.test\n\nwill\sfail\sbecause\sthe\sall.tcl\sfile\sis\snever\s\nevaluated\sto\sdefine\sthe\sloadFile.\n\nSo,\sas\slong\sas\sa\sparticular\sset\sof\shabits\nare\smaintained,\sthe\sexisting\s-load*\noptions\swork\sfine.\n
J login dgp
J mimetype text/plain
J username dgp
K 577038ffffffffffffffffffffffffffffffffff
U dgp
Z eb6df8afd197c24234d3a80a1ba9a5f8