|
2003-11-11
| ||
| 02:39 | • Closed ticket [838384ffff]: cmdinfo-1.1 test fails with -singleproc 1 plus 7... artifact: 2a20a1482b user: dgp | |
| 02:19 | • Ticket [838384ffff]: 5 changes artifact: 6098e6d956 user: dkf | |
|
2003-11-10
| ||
| 21:41 | • Ticket [838384ffff]: 6 changes artifact: 30ed5a1dd9 user: dgp | |
|
2003-11-08
| ||
| 11:36 | • New ticket [838384ffff]. artifact: ab72981eed user: davidw | |
cmdinfo-1.1 test fails with -singleproc 1
Closed / Fixed838384ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-11-08 11:36:06
tcl HEAD from CVS as of 2003-11-08 and
export TCLTESTARGS="-singleproc 1"
make test
...
cmdInfo.test
wrong # args: should be "test l"
while executing
"test cmdinfo-1.1 {command procedure and clientData}
{testcmdinfo} {
testcmdinfo create x1
testcmdinfo get x1
} {CmdProc1 original CmdDelProc1 ..."
(file
"/home/davidw/download/tcl/tests/cmdInfo.test" line 28)
invoked from within
"::source /home/davidw/download/tcl/tests/cmdInfo.test"
("uplevel" body line 1)
invoked from within
"uplevel 1 [list ::source $file]"
(procedure "tcltest::runAllTests" line 57)
invoked from within
"tcltest::runAllTests"
(file "./../tests/all.tcl" line 23)
make: *** [test] Error 1
miguel was able to repeat this as well.
dgpplain2003-11-10 21:41:00
Logged In: YES user_id=80530 This is interference between the test files cmdIL.test and cmdInfo.test. cmdIL-5.5 redefines the [test] command in the current namespace. This is a bad idea, and will break any later tests added to the cmdIL-5.5 file. Then cmdInfo.test gets caught by assuming that becase the tcltest package is present, that it's commands have been imported into the global namespace. It should be updated (like a few other *.test files have been) to work in its own namespace and bring in the tcltest commands it needs for itself. Assigning to cmdIL.test maintainer for first, more important fix.
dkfplain2003-11-11 02:19:14
Logged In: YES user_id=79902 fixed cmdAH.test in HEAD Assigning to tcltest maintainer to let him do whatever fixups for getting the correct version of [test] that he wants... :^)
dgpplain2003-11-11 02:39:33
Logged In: YES user_id=80530 thanks, I'll file other issues and general test suite cleanup as separate reports.
Log in (anonymous is fine) to add a comment.