Artifacts Associated With Ticket 954014ffffffffff
Ticket change [d67b51a157] (rid 123812) by aotto1968 on 2004-05-14 14:51:32:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hi, this are the collected changes to the tcl8.4.6 tests directory. mostley it fixes notset -myaddr cases for "socket -server ..." tests plus an directory bug belonging to "tcltest::testsDirectory" mfg aotto
- foundin initialized to: "obsolete: 8.4.6"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "aotto1968"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "changes to tcl8.4.6/tests directory"
- type initialized to: "Bug"
Ticket change [0503ff5ed6] (rid 88976) by aotto1968 on 2004-05-14 21:51:32:
- icomment:
File Added - 87160: tests.patch
- login: "aotto1968"
- mimetype: "text/plain"
- username: "aotto1968"
- icomment:
Add attachment "tests.patch" [88d9e25639] (rid 131928) by aotto1968 on 2004-05-14 21:51:32.
Ticket change [cb4d395a8a] (rid 95490) by dgp on 2004-05-14 22:55:39:
- closedate changed to: "2004-05-14T15:55:39"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 this patch has many changes relevant to many Categories. For example, proposed changes to "socket.test" should be filed under "27. Channel Types" so the [socket] maintainer can review them. Etc. Looking just at the changes to the tcltest.test, this is really a symptom of poor use of the test suite. The all.tcl file takes care of initializing [configure -testdir] to the correct value. This should work: make test TESTFLAGS="-file tcltest.test" or alternatively tclsh ../path/to/all.tcl -file tcltest.test direct evaluation of the *.test files is not the recommended procedure. That said, I find that in fact, ./tcltest ../tests/tcltest.test Works For Me
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "dgp"
Ticket change [7bdc3d2a1b] (rid 96978) by aotto1968 on 2004-05-14 23:38:28:
- icomment:
Logged In: YES user_id=1030114 Hi, this should help :) 1. testsDirectory=.../build_shared 2. build_shared has no all.tcl >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dev1usr@linux02:~/Project/TclBase.build/src/tcl8.4.6/ build_shared> ./tcltest ../tests/tcltest.test testsDirectory=/home/Project/TclBase.build/src/tcl8.4.6/ build_shared ==== tcltest-9.1 -file a*.tcl FAILED ==== Contents of test case: slave msg [file join [testsDirectory] all.tcl] -file a*.test list [regexp assocd\.test $msg] ---- Result was: 0 ---- Result should have been (exact matching): 1 ==== tcltest-9.1 FAILED tcltest.test: Total 124 Passed 119 Skipped 4 Failed 1 Number of tests skipped for each constraint: 3 nonRoot 1 singleTestInterp <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< mfg aotto - login: "aotto1968"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "aotto1968"
- icomment:
Ticket change [0f5c26b515] (rid 94778) by nobody on 2004-05-14 23:43:01:
- icomment:
Logged In: NO take me through it step by step and tell me how testDirectory got its bogus value?
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [1f95656e9f] (rid 91171) by dgp on 2004-05-15 00:33:07:
- closedate changed to: "2004-05-14T17:33:07"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 more to the point, why is the -setup script of test tcltest-9.1 not taking care of the issue?
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "dgp"
Ticket change [69e0ba01a4] (rid 128056) by aotto1968 on 2004-05-16 15:42:53:
- icomment:
Logged In: YES user_id=1030114 Hi, local directory is the default for "-testdir" man tcltest >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> testsDirectory ?directory? Same as [configure -testdir ?directory?]. -testdir directory Sets the directory searched by [runAllTests] for test files and subdirectories. Default value is [workingDirectory]. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< this only works if localdirectory is testdirectory mfg aotto - login: "aotto1968"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "aotto1968"
- icomment:
Ticket change [b4fbadaffe] (rid 125155) by dgp on 2004-05-17 22:38:28:
- closedate changed to: "2004-05-17T15:38:28"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 more to the point, why is the -setup script of test tcltest-9.1 not taking care of the issue?
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"