Skip to content
Tcl Source Code Artifact [807f9d2e17]
Login

Artifact [807f9d2e17]

Artifact 807f9d2e17c0276e90753e3dfd81b24117d3bbfdf8a9672d3d01122bc8e17619:

Ticket change [807f9d2e17] - New ticket [1a3fa1232e306a44|1a3fa1232e] <i>test cmdMZ-6.5 not testing all code paths</i>. by emiliano on 2019-03-30 18:16:22.
D 2019-03-30T18:16:22.721
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment testing\strunk\son\sa\sslow\smachine\sshows\sa\sfailing\stest\scmdMZ-6.5\r\n\r\ncmdMZ.test\r\n\r\n\r\n====\scmdMZ-6.5\sTcl_TimeRateObjCmd:\sresult\sformat\sand\sone\siteration\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sregexp\s{^\\d+.\\d+\s\\ws/#\s1\s#\s\\d+\s#/sec\s\\d+.\\d+\snett-ms$}\s[timerate\s{}\s0]\r\n\r\n----\sResult\swas:\r\n0\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n1\r\n====\scmdMZ-6.5\sFAILED\r\n\r\ncode\sshows\sthat\sthe\sresult\sof\s[timerate]\sis\sa\slist\sand\sthe\sfourth\selement\scan\sbe\seither\san\sinteger\sor\sa\sfloat\swith\s1,\s2\sor\s3\sdecimals\s(file\sgeneric/tclCmdMZ.c,\slines\s4424-4438)\sbut\sonly\sthe\sinteger\spath\sis\stested.\s\r\n\r\nThe\sobvious\ssolution\sis\sto\stest\sfor\sthose\spossibilities\sas\swell.\r\n\r\nNo\sother\scode\spaths\swere\stested/reviewed.
J foundin trunk
J is_private 0
J login emiliano
J priority 5\sMedium
J private_contact 885ae311f5fce05c2a8d9c31d2d2a1b5638ca9df
J resolution None
J severity Minor
J status Open
J submitter emiliano
J subsystem -\sNew\sBuiltin\sCommands
J title test\scmdMZ-6.5\snot\stesting\sall\scode\spaths
J type Bug
K 1a3fa1232e306a447f480f76a9c83d1bdbf358d2
U emiliano
Z 5ae216dbb9233aec243076420c618c2e