Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8eb559030bc93b9b75606d9335610be0ce388d70
Ticket: 3549770fffffffffffffffffffffffffffffffff
Multiple test failures running tcltest outside build tree
User & Date: twylite on 2012-07-27 08:45:02
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    * May be partially related to #3545367 'DDE test failures' *
    
    If I build and install tclsh85, then copy tcltest to the install's bin folder, and run 'tcltest path/to/tcl/tests/all.tcl' from there, then the following tests fail (that do not fail if run via 'nmake test').  The issues are most likely related to the difference between build-tree and install-tree paths.
    
    Build is a 32-bit tclsh from tag 'core-8-5-12' (checkout [1cc0f68d]), build using MSVC2010, running on Windows 7 64-bit.
    
    ==== filesystem-7.1 load from vfs FAILED
    ==== Contents of test case:
    
        # This may cause a crash on exit
        set dir [pwd]
        cd [file dirname [info nameof]]
        set dde [lindex [glob *dde*[info sharedlib]] 0]
        testsimplefilesystem 1
        # This loads dde via a complex copy-to-temp operation
        load simplefs:/$dde dde
        testsimplefilesystem 0
        cd $dir
        set res "ok"
        # The real result of this test is what happens when Tcl exits.
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: no files matched glob pattern "*dde*.dll"
        while executing
    "glob *dde*[info sharedlib]"
        ("uplevel" body line 5)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== filesystem-7.1 FAILED
    
    Note that this issue is DDE-related, and the DDE tests that fail in bug 3545367 pass when run outside the build tree.
    
    
    ==== msgcat-0.7 locale initialization from environment variables {} FAILED
    ==== Contents of test case:
    i eval msgcat::mclocale
    ---- Result was:
    en_za
    ---- Result should have been (exact matching):
    c
    ==== msgcat-0.7 FAILED
    
    
    ==== registry-6.21 GetValue: very long value names and values FAILED
    ==== Contents of test case:
    
        registry set HKEY_CURRENT_USER\\TclFoobar [string repeat k 199] [string repeat x 199] multi_sz
        set result [registry get HKEY_CURRENT_USER\\TclFoobar [string repeat k 199]]
        registry delete HKEY_CURRENT_USER\\TclFoobar
        set result
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: invalid command name "registry"
        while executing
    "registry set HKEY_CURRENT_USER\\TclFoobar [string repeat k 199] [string repeat x 199] multi_sz"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== registry-6.21 FAILED
    
    
    ==== safe-14.1 Check that module path is the same as in the master interpreter [Bug 2964715] FAILED
    ==== Contents of test case:
    
        set tm {}
        foreach token [$i eval ::tcl::tm::path list] {
            lappend tm [dict get [set ::safe::S${i}(access_path,map)] $token]
        }
        return $tm
    
    ---- Result was:
    C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/site-tcl C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.0 C:/User/Tcl_B
    UILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.1 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.2 C:/User/Tcl_BUILD/tcl85/Release
    _8-5-12_VC10/lib/tcl8/8.3 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.4 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/t
    cl8/8.5 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.4/platform
    ---- Result should have been (exact matching):
    C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/site-tcl C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.0 C:/User/Tcl_B
    UILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.1 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.2 C:/User/Tcl_BUILD/tcl85/Release
    _8-5-12_VC10/lib/tcl8/8.3 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/tcl8/8.4 C:/User/Tcl_BUILD/tcl85/Release_8-5-12_VC10/lib/t
    cl8/8.5
    ==== safe-14.1 FAILED
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.5.12"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "twylite"
  10. subsystem changed to: "None"
  11. title changed to:
    Multiple test failures running tcltest outside build tree
    
  12. type changed to: "RFE"