Skip to content
Tcl Source Code Artifact [ff11748b3b]
Login

Artifact [ff11748b3b]

Artifact ff11748b3be2d17a92e1472412589970ebd8d9fc:

Ticket change [ff11748b3b] - New ticket [556837ffffffffff|556837ffff] <i>nested tests are not counted correctly</i>. by vincentdarley on 2002-05-16 16:02:54.
D 2002-05-16T16:02:54
J assignee dgp
J cmimetype text/plain
J comment If\sone\stest\sexecutes\sa\snumber\sof\sothers,\sthe\s'inside'\s\ntests\sare\snot\sreported\sin\sthe\sstatistics\sat\sthe\send\sof\s\nthe\stest\srun.\n\nA\scomplex\sexample\sof\sthis\sis\savailable\sin\sthe\stclvfs\s\ntest\ssuite\s(vfsArchive.test)\n\nBut\sa\ssimple\sexample\sis\sas\sfollows:\n\n%\spackage\srequire\stcltest\n%\stcltest::test\sname\s{blah}\s{\stcltest::test\sin\sin\s\n{expr\s1}\s{0}\s}\s{1}\n\n\n====\sin\sin\sFAILED\n====\sContents\sof\stest\scase:\nexpr\s1\n----\sResult\swas:\n1\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n0\n====\sin\sFAILED\n\n\n====\sname\sblah\sFAILED\n====\sContents\sof\stest\scase:\n\stcltest::test\sin\sin\s{expr\s1}\s{0}\s\n----\sResult\swas:\n0\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n1\n====\sname\sFAILED\n\n0\n\n%\stcltest::cleanupTests\s1\n:Total1Passed0Skipped0\nFailed1\nSourced\s0\sTest\sFiles.\n\nBut\sof\scourse\sthis\sshould\ssay\s'total\s2',\s'failed\s2'.\n\n
J foundin obsolete:\s8.4a5
J priority 5\sMedium
J resolution None
J status Open
J submitter vincentdarley
J subsystem 34.\stcltest\sPackage
J title nested\stests\sare\snot\scounted\scorrectly
J type Bug
K 556837ffffffffffffffffffffffffffffffffff
U vincentdarley
Z aaa1905a6282b1f64113ddba9820bcd0