Overview
| Artifact ID: | 104c691a59240160eddb4b3fc0799def47ea0fe991486bc7307c7bdd7f503e50 |
|---|---|
| Ticket: | 894e11d7f73023089a8ff2c3575a88429d17ec7c
Unix make test does not test embedded zip configuration |
| User & Date: | apnadkarni on 2023-10-11 16:22:40 |
Changes
- icomment:
I had tested that config before commit. Retried with but not able to reproduce these failures with core-8-branch, trunk or with effd49d19f. See (edited) test logs below. Both encoding and cmdAH tests pass. Last time the difference in our environments was the presence of the threads package. Tested with that as well with no failures (there are no thread constraints in any case). This was on Ubuntu. If you are on a Mac, it's quite possible there is a bug in there somewhere as is currently ticketed for password based zips on Mac. OTOH, github tests on MacOS pass without issues. It would be a useful data point if you can manually reproduce the bug with that commit and then try it with the prior commit **ensuring** that the build actually embedded tcl_library within the executable and TCL_LIBRARY was not set. The problem with test runs prior to effd49d19f was that they set TCL_LIBRARY and thus did not actually test whether encoding files were readable from the zip. That commit purportedly fixed that and potentially exposed existing issues. A manual test would help provide some clue. Anyways, my test runs ``` [apn@tcltk build]$ make -s test-tcl TESTFLAGS="-file encoding.test" Warning: tclStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Warning: tclOOScript.h may be out of date. Developers may want to run "make genscript" to regenerate. This warning can be safely ignored, do not report as a bug! creating libtcl.vfs/tcl_library (prepare compression) creating libtcl8.7a6.zip from libtcl.vfs/tcl_library cd libtcl.vfs && /usr/bin/zip -rq ../libtcl8.7a6.zip * Zip entry offsets appear off by 2057920 bytes - correcting... Zip entry offsets appear off by 2184472 bytes - correcting... Tests running in interp: /data/home/apn/src/wip/tcl/unix/build/tcltest Tests located in: /data/home/apn/src/wip/tcl/tests Tests running in: /data/home/apn/src/wip/tcl/unix/build Temporary files stored in /data/home/apn/src/wip/tcl/unix/build Test files run in separate interpreters Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: encoding.test Tests began at Wed Oct 11 17:21:28 CEST 2023 encoding.test Tests ended at Wed Oct 11 17:21:29 CEST 2023 all.tcl: Total 212 Passed 212 Skipped 0 Failed 0 Sourced 1 Test Files. [apn@tcltk build]$ ls -l tcltest -rwxr-xr-x 1 apn apn 3368234 Oct 11 17:21 tcltest Tcl 9 [apn@tcltk build]$ make -s test-tcl TESTFLAGS="-file encoding.test" Warning: tclStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Warning: tclOOScript.h may be out of date. Developers may want to run "make genscript" to regenerate. This warning can be safely ignored, do not report as a bug! creating libtcl.vfs/tcl_library (prepare compression) creating libtcl9.0a4.zip from libtcl.vfs/tcl_library cd libtcl.vfs && /usr/bin/zip -rq ../libtcl9.0a4.zip * Zip entry offsets appear off by 2075072 bytes - correcting... Zip entry offsets appear off by 2211368 bytes - correcting... Tests running in interp: /data/home/apn/src/wip/tcl/unix/build/tcltest Tests located in: /data/home/apn/src/wip/tcl/tests Tests running in: /data/home/apn/src/wip/tcl/unix/build Temporary files stored in /data/home/apn/src/wip/tcl/unix/build Test files run in separate interpreters Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: encoding.test Tests began at Wed Oct 11 18:03:26 CEST 2023 encoding.test Tests ended at Wed Oct 11 18:03:27 CEST 2023 all.tcl: Total 216 Passed 212 Skipped 4 Failed 0 Sourced 1 Test Files. Number of tests skipped for each constraint: 4 perf [apn@tcltk build]$ ls -l tcltest -rwxr-xr-x 1 apn apn 3390738 Oct 11 18:03 tcltest [apn@tcltk build]$ ls -l tcltest -rwxr-xr-x 1 apn apn 3390738 Oct 11 18:03 tcltest [apn@tcltk build]$ make -s test-tcl TESTFLAGS="-file cmdAH.test" Warning: tclStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Warning: tclOOScript.h may be out of date. Developers may want to run "make genscript" to regenerate. This warning can be safely ignored, do not report as a bug! Tests running in interp: /data/home/apn/src/wip/tcl/unix/build/tcltest Tests located in: /data/home/apn/src/wip/tcl/tests Tests running in: /data/home/apn/src/wip/tcl/unix/build Temporary files stored in /data/home/apn/src/wip/tcl/unix/build Test files run in separate interpreters Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: cmdAH.test Tests began at Wed Oct 11 18:05:24 CEST 2023 cmdAH.test Tests ended at Wed Oct 11 18:05:30 CEST 2023 all.tcl: Total 16617 Passed 16587 Skipped 30 Failed 0 Sourced 1 Test Files. Number of tests skipped for each constraint: 1 knownBug 8 nonPortable 21 win [apn@tcltk build]$ fossil checkout effd49d19f [apn@tcltk build]$ make -s test-tcl TESTFLAGS="-file encoding.test" Warning: tclStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Warning: tclOOScript.h may be out of date. Developers may want to run "make genscript" to regenerate. This warning can be safely ignored, do not report as a bug! creating libtcl.vfs/tcl_library (prepare compression) creating libtcl8.7a6.zip from libtcl.vfs/tcl_library cd libtcl.vfs && /usr/bin/zip -rq ../libtcl8.7a6.zip * Zip entry offsets appear off by 2057960 bytes - correcting... Zip entry offsets appear off by 2184512 bytes - correcting... Tests running in interp: /data/home/apn/src/wip/tcl/unix/build/tcltest Tests located in: /data/home/apn/src/wip/tcl/tests Tests running in: /data/home/apn/src/wip/tcl/unix/build Temporary files stored in /data/home/apn/src/wip/tcl/unix/build Test files run in separate interpreters Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: encoding.test Tests began at Wed Oct 11 18:09:29 CEST 2023 encoding.test Tests ended at Wed Oct 11 18:09:30 CEST 2023 all.tcl: Total 212 Passed 212 Skipped 0 Failed 0 [apn@tcltk build]$ make -s test-tcl TESTFLAGS="-file cmdAH.test" Warning: tclStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Warning: tclOOScript.h may be out of date. Developers may want to run "make genscript" to regenerate. This warning can be safely ignored, do not report as a bug! Tests running in interp: /data/home/apn/src/wip/tcl/unix/build/tcltest Tests located in: /data/home/apn/src/wip/tcl/tests Tests running in: /data/home/apn/src/wip/tcl/unix/build Temporary files stored in /data/home/apn/src/wip/tcl/unix/build Test files run in separate interpreters Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: cmdAH.test Tests began at Wed Oct 11 18:10:51 CEST 2023 cmdAH.test Tests ended at Wed Oct 11 18:10:58 CEST 2023 all.tcl: Total 16746 Passed 16715 Skipped 31 Failed 0 Sourced 1 Test Files. Number of tests skipped for each constraint: 1 knownBug 8 nonPortable 22 win ``` - login: "apnadkarni"
- mimetype: "text/x-markdown"