Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7e0a50f1fbb6d2cdec0efa9c2dcb5ba1355033f5d453c793001163a1daf14574
Ticket: 894e11d7f73023089a8ff2c3575a88429d17ec7c
Unix make test does not test embedded zip configuration
User & Date: apnadkarni on 2023-09-18 16:41:39
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    This parallels [b6f7cee65](https://core.tcl-lang.org/tcl/tktview/b6f7cee65c) for Win nmake which has been fixed. Didn't realize Unix has the same issue.
    
    The `make test` target sets TCL_LIBRARY before invoking tcltest even when `--enable-zipfs` has been configured. Consequently it is not actually testing the build configuration and is loading Tcl scripts from the source directory instead of from the embedded zip.
    
    This can be confirmed by adding 
    
    ```
    puts $tcl_library
    puts [zipfs mount]
    ```
    
    to any test script.
    
    Anyone fixing this, please also reword the help message for --enable-zipfs or even change the option name. Both the option and the help imply disabling will remove zipfs support. That is not the case. zipfs support is always included in the build. The option only controls whether the Tcl library is embedded within the executable. Commands like `zipfs mount` etc. will continue to work irrespective of the option setting.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    Unix make test does not test embedded zip configuration
    
  16. type changed to: "Bug"