Skip to content
Tcl Source Code Artifact [4968c512d1]
Login

Artifact [4968c512d1]

Artifact 4968c512d1ff4875371e8596ad7dfd46befaddd3:

Ticket change [4968c512d1] - New ticket [1017151fffffffff|1017151fff] <i>Correct wrong/misleading errorInfo reporting</i>. by robert_seeger on 2004-08-26 20:02:10.
D 2004-08-26T20:02:10
J assignee dgp
J cmimetype text/plain
J comment Currently,\sthe\sdisplay\sof\serror\sinformation\sduring\sa\ntest\srun\scan\sbe\smisleading.\sIn\sparticular,\sthe\nerrorInfo\sdisplayed\sfor\sa\stest\sthat\swas\ssupposed\sto\nhave\sa\sreturnCode\sof\serror\sbut\sdid\snot\sis\sthat\sof\sthe\nlast\serror.\sAlso,\sif\sthe\sbody\sand\scleanup\ssections\sof\sa\ntest\sthrow\serrors,\sonly\sthe\serror\sfrom\sthe\scleanup\nsection\sis\sdisplayed.\sIt\swould\sbe\shelpful\sif\sboth\npieces\sof\sinformation\swere\sreported.\n\nSome\ssample\scode\sthat\sshows\sthe\sproblem:\n\ntest\sfake-1.1\s{\n\s\s\s\sA\sfake\stest\sto\sset\serrorInfo\n}\s-body\s{\n\s\s\s\scatch\s{\serror\s"this\sis\san\serror"\s}\n}\s-result\s1\n\ntest\sfakeError-1.1\s{\n\s\s\s\sShow\san\serror\scondition\swhen\sthere\sisn't\sone\n}\s-body\s{\n\s\s\s\sset\sx\s1\n}\s-returnCodes\serror\s-result\s{1}\n\ntest\slostError-1.1\s{\n\s\s\s\sLose\sthe\sbody\serror\sinformation\n}\s-body\s{\n\s\s\s\serror\s"we\snever\ssee\sthis\serror"\n}\s-cleanup\s{\n\s\s\s\serror\s"we\sonly\ssee\sthis\serror"\n}\s-result\s1\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter robert_seeger
J subsystem 34.\stcltest\sPackage
J title Correct\swrong/misleading\serrorInfo\sreporting
J type RFE
K 1017151fffffffffffffffffffffffffffffffff
U robert_seeger
Z 4016d33772fedd5ddb88c3d956a4187d