Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-20
19:40 • Ticket [903803ffff] win build/testsuite should build pkga-pkgf status still ... artifact: e7c5ada621 user: serhiy.storchaka
19:38
Fix [903803ffff]: the Windows builds (win/Makefile.in and win/makefile.vc) build the unix/dltest pac... leaf check-in: 4cf416d187 user: serhiy.storchaka tags: win-dltest
2007-02-19
02:02 • Ticket [903803ffff] win build/testsuite should build pkga-pkgf status still ... artifact: 350609e9b7 user: dkf
2005-11-04
04:55 • Ticket [903803ffff]: 1 change artifact: 1cd2bdf588 user: davygrvy
2005-02-15
06:34 • Ticket [903803ffff]: 4 changes artifact: 4db54215ae user: vincentdarley
2004-09-08
15:45 • Ticket [903803ffff]: 4 changes artifact: 98a0e03913 user: dkf
09:53 • Ticket [903803ffff]: 4 changes artifact: ecf304cae9 user: davygrvy
2004-02-25
07:22 • Ticket [903803ffff]: 4 changes artifact: ddc48f946a user: dkf
2004-02-24
23:36 • New ticket [903803ffff]. artifact: 29dc43f721 user: vincentdarley

win build/testsuite should build pkga-pkgf

Open903803ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 43 days ago
Descriptionplain2004-02-24 23:36:31
The Tcl test suite only tests load/unload on Unix, when
the simple Tcl packages pkga....pkgf located in
tcl/unix/dltest are perfectly cross-platform.

Therefore Tcl's windows build should build these dlls
and the test suite should test them...
Referenced by1
  • 4cf416d187Fix [903803ffff]: the Windows builds (win/Makefile.in and win/makefile.vc) build the unix/dltest packages, so load.test, unload.test and pkgMkIndex.test run there. In win/tcl.m4, MAKE_DLL puts the import library next to a DLL in a subdirectory. check-in2026-10-20 19:38:47
dkfplain2004-02-25 07:22:14
Logged In: YES 
user_id=79902

Also pkgua
davygrvyplain2004-09-08 09:53:26
Logged In: YES 
user_id=7549

Should these be moved so they're not under the unix/ 
directory?
dkfplain2004-09-08 15:45:31
Logged In: YES 
user_id=79902

I'd say yes, but I don't know where to move them to.  Does
the source code go below generic or tests?  Where to the
makefiles go (I suspect that they stay under unix and get
duplicated...)
vincentdarleyplain2005-02-15 06:34:56
Logged In: YES 
user_id=32170

I'd say the source code should go under tests, and the
makefiles should operate the same as the other makefiles --
be duplicated and on Windows a makefile.vc also supplied.
davygrvy Ticket [903803ffff]: 1 change [History diff]2005-11-04 04:55:59
dkf Ticket [903803ffff]: 1 change [History diff]2007-02-19 02:02:56
serhiy.storchakawiki2026-10-20 19:40:30

Still the case on main, 9.0 and 8.6.

Proposed in branch [win-dltest]: nmake -f makefile.vc tcltest and make tcltest (win/Makefile.in) also build the packages from unix/dltest into a dltest directory next to the test shell, as on Unix; the sources stay in unix/dltest. With them load.test, unload.test and pkgMkIndex.test run 78 tests instead of 39, all passing, with MSVC 2022, MSYS2 UCRT64 and a MinGW-w64 cross build (Wine). MAKE_DLL in win/tcl.m4 needed a small fix to put the import library of a DLL in a subdirectory next to it.

Log in (anonymous is fine) to add a comment.