Tcl Source Code

View Ticket
Login
Ticket UUID: 903803
Title: win build/testsuite should build pkga-pkgf
Type: Bug Created on: 2004-02-24 23:36:31
Submitter: vincentdarley Assigned to: patthoyts
Subsystem: 53. Configuration and Build Tools Severity:
Priority: 7 High Last modified: 2026-10-20 19:40:30
Status: Open Closed by:
Resolution: None Closed on:
Version: 8.6.18, 9.0.5, 9.1.0
Description:
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...
User Comments:
dkf added on 2004-02-25 07:22:14:
Logged In: YES 
user_id=79902

Also pkgua

davygrvy added on 2004-09-08 09:53:26:
Logged In: YES 
user_id=7549

Should these be moved so they're not under the unix/ 
directory?

dkf added on 2004-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...)

vincentdarley added on 2005-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.

serhiy.storchaka added on 2026-10-20 19:40:30:

Still the case on main, 9.0 and 8.6.

Proposed in branch [4cf416d187|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.