Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 29d4c13be064c9336c5a8add3d5e41bcb4b58484
Ticket: 713754ffffffffffffffffffffffffffffffffff
tests fail: Solaris cc --enable-symbols=compile
User & Date: dgp on 2003-04-02 08:16:05
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    $ $CC -V
    cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
    $ ../unix/configure --disable-shared
    --enable-symbols=compile
    ...
    $ make test
    ...
    ==== io-8.4 PeekAhead: cached data available in this
    buffer FAILED
    ==== Contents of test case:
    
        # not (bytesLeft == 0)
    
        set f [open $path(test1) w+]
        fconfigure $f -translation binary
        puts $f "${a}\r\nabcdef"
        close $f
        set f [open $path(test1)]
        fconfigure $f -encoding binary -translation auto
    
        # "${a}\r" was converted in one operation (because
    ENCODING_LINESIZE
        # is 30).  To check if "\n" follows, calls
    PeekAhead and determines
        # that cached data is available in buffer w/o
    having to call driver.
    
        set x [gets $f]
        close $f
        set x
    
    ---- Result was:
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901*
    ---- Result should have been (exact matching):
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
    ==== io-8.4 FAILED
    
    ...
    
    ==== iocmd-12.6 POSIX open access modes: errors FAILED
    ==== Contents of test case:
    
        concat [catch {open $path(test3) "FOO \{BAR BAZ"}
    msg] $msg\n$errorInfo
    
    ---- Result was:
    1 unmatched open brace in list unmatched open brace in list
        while processing open access modes "FOO {BAR BAZ"
        invoked from within
    "open $path(test3) "FOO \{BAR BAZ""
    ---- Result should have been (exact matching):
    1 unmatched open brace in list
    unmatched open brace in list
        while processing open access modes "FOO {BAR BAZ"
        invoked from within
    "open $path(test3) "FOO \{BAR BAZ""
    ==== iocmd-12.6 FAILED
    
    ...
    
    ==== iogt-2.1 basic I/O, operation trail FAILED
    ==== Contents of test case:
    
        set fin  [open $path(dummy)    r]
        set fout [open $path(dummyout) w]
    
        set ain [list] ; set aout [list]
        audit_ops ain  -attach $fin
        audit_ops aout -attach $fout
    
        fconfigure $fin  -buffersize 10
        fconfigure $fout -buffersize 5
    
        fcopy $fin $fout
    
        close $fin
        close $fout
    
        set res "[join $ain \n]\n--------\n[join $aout \n]"
    
    ---- Result was:
    create/read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    flush/read
    delete/read--------
    create/write
    write
    write
    write
    write
    write
    write
    write
    write
    flush/write
    delete/write
    ---- Result should have been (exact matching):
    create/read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    flush/read
    delete/read
    --------
    create/write
    write
    write
    write
    write
    write
    write
    write
    write
    flush/write
    delete/write
    ==== iogt-2.1 FAILED
    
    
    ==== iogt-2.2 basic I/O, data trail FAILED
    ==== Contents of test case:
    
        set fin  [open $path(dummy)    r]
        set fout [open $path(dummyout) w]
    
        set ain [list] ; set aout [list]
        audit_flow ain  -attach $fin
        audit_flow aout -attach $fout
    
        fconfigure $fin  -buffersize 10
        fconfigure $fout -buffersize 5
    
        fcopy $fin $fout
    
        close $fin
        close $fout
    
        set res "[join $ain \n]\n--------\n[join $aout \n]"
    
    ---- Result was:
    create/read {} *ignored*
    query/maxRead {} -1
    read abcdefghij abcdefghij
    query/maxRead {} -1
    read klmnopqrst klmnopqrst
    query/maxRead {} -1
    read uvwxyz0123 uvwxyz0123
    query/maxRead {} -1
    read 456789,./? 456789,./?
    query/maxRead {} -1
    read {><;'\|":[]} {><;'\|":[]}
    query/maxRead {} -1
    read {\}\{`~!@#$} {\}\{`~!@#$}
    query/maxRead {} -1
    read %^&*()_+-= %^&*()_+-=
    query/maxRead {} -1
    read {
    } {
    }
    query/maxRead {} -1
    flush/read {} {}
    delete/read {} *ignored*!--------
    create/write {} *ignored*
    write abcdefghij abcdefghij
    write klmnopqrst klmnopqrst
    write uvwxyz0123 uvwxyz0123
    write 456789,./? 456789,./?
    write {><;'\|":[]} {><;'\|":[]}
    write {\}\{`~!@#$} {\}\{`~!@#$}
    write %^&*()_+-= %^&*()_+-=
    write {
    } {
    }
    flush/write {} {}
    delete/write {} *ignored*
    ---- Result should have been (exact matching):
    create/read {} *ignored*
    query/maxRead {} -1
    read abcdefghij abcdefghij
    query/maxRead {} -1
    read klmnopqrst klmnopqrst
    query/maxRead {} -1
    read uvwxyz0123 uvwxyz0123
    query/maxRead {} -1
    read 456789,./? 456789,./?
    query/maxRead {} -1
    read {><;'\|":[]} {><;'\|":[]}
    query/maxRead {} -1
    read {\}\{`~!@#$} {\}\{`~!@#$}
    query/maxRead {} -1
    read %^&*()_+-= %^&*()_+-=
    query/maxRead {} -1
    read {
    } {
    }
    query/maxRead {} -1
    flush/read {} {}
    delete/read {} *ignored*
    --------
    create/write {} *ignored*
    write abcdefghij abcdefghij
    write klmnopqrst klmnopqrst
    write uvwxyz0123 uvwxyz0123
    write 456789,./? 456789,./?
    write {><;'\|":[]} {><;'\|":[]}
    write {\}\{`~!@#$} {\}\{`~!@#$}
    write %^&*()_+-= %^&*()_+-=
    write {
    } {
    }
    flush/write {} {}
    delete/write {} *ignored*
    ==== iogt-2.2 FAILED
    
    ...
    
    ==== parseOld-5.9 array variable substitution FAILED
    ==== Contents of test case:
    
        catch {unset a}; catch {unset qqq}
        set "a(x y z)" qqq
        set $a([format x]\ y [format z]) foo
        set qqq
    
    ---- Result was:
    can't read "a(xy z)": no such element in array
    ---- Result should have been (exact matching):
    foo
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== parseOld-5.9 FAILED
    
    ...
    
    ==== pkgMkIndex-4.2 split package - direct loading FAILED
    ==== Contents of test case:
    
        pkgtest::runIndex -direct $fullPkgPath pkg2_a.tcl
    pkg2_b.tcl
    
    ---- Result was:
    0 {{pkg2:1.0 {source
    /local/src/tcl/solaris/pkg/pkg2_a.tclsource
    /local/src/tcl/solaris/pkg/pkg2_b.tcl}}}
    ---- Result should have been (exact matching):
    0 {{pkg2:1.0 {source /local/src/tcl/solaris/pkg/pkg2_a.tcl
    source /local/src/tcl/solaris/pkg/pkg2_b.tcl}}}
    ==== pkgMkIndex-4.2 FAILED
    
    
    ==== pkgMkIndex-8.2 pkg5 uses pkg2 - use -direct FAILED
    ==== Contents of test case:
    
        pkgtest::runIndex -direct $fullPkgPath pkg5.tcl
    pkg2_a.tcl pkg2_b.tcl
    
    ---- Result was:
    0 {{pkg2:1.0 {source
    /local/src/tcl/solaris/pkg/pkg2_a.tcl!source
    /local/src/tcl/solaris/pkg/pkg2_b.tcl}} {pkg5:1.0
    {source /local/src/tcl/solaris/pkg/pkg5.tcl}}}
    ---- Result should have been (exact matching):
    0 {{pkg2:1.0 {source /local/src/tcl/solaris/pkg/pkg2_a.tcl
    source /local/src/tcl/solaris/pkg/pkg2_b.tcl}}
    {pkg5:1.0 {source /local/src/tcl/solaris/pkg/pkg5.tcl}}}
    ==== pkgMkIndex-8.2 FAILED
    
    
    ==== pkgMkIndex-10.2 package in DLL hidden by -load FAILED
    ==== Contents of test case:
    
        # Do all [load]ing of shared libraries in another
    process, so
        # we can delete the file and not get stuck because
    we're holding
        # a reference to it.
        #
        # This test depends on context from prior test, so
    repeat it.
        set script "[list pkg_mkIndex -lazy $fullPkgPath
    [file tail $x] pkga.tcl]\n"    append script  "[list
    pkg_mkIndex -lazy -load Pkg* $fullPkgPath [file tail $x]]"
        exec [interpreter] << $script
        pkgtest::runCreatedIndex {0 {}} -lazy -load Pkg* --
    $fullPkgPath pkga[info sharedlibextension]
    
    ---- Result was:
    0 {{Pkga:1.0 {tclPkgSetup {pkga.so load {pkga_eq
    pkga_quote}} {pkga.so load {pkga_eq pkga_quote}}}}}
    ---- Result should have been (exact matching):
    0 {}
    ==== pkgMkIndex-10.2 FAILED
    
    ...
    
    ==== tcltest-12.4 loadFile FAILED
    ==== Contents of test case:
    set f1 [loadScript]
            set f2 [loadFile]
            set f3 [loadFile $loadfile]
            set f4 [loadScript]
            set f5 [loadFile]
            list $f1 $f2 $f3 $f4 $f5
    ---- Result was:
    {} {} /local/src/tcl/solaris/load.tcl {
        package require tcltest
        namespace import tcltest::*
        puts [outputChannel] $::tcltest::loadScript
        exit
    } /local/src/tcl/solaris/load.tcl
    ---- Result should have been (exact matching):
    {} {} /local/src/tcl/solaris/load.tcl {
        package require tcltest
        namespace import tcltest::*
        puts [outputChannel] $::tcltest::loadScript
        exit
    } /local/src/tcl/solaris/load.tcl)
    ==== tcltest-12.4 FAILED
    
    
    Without --enable-symbols=compile, I see zero tests fail
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "25. Channel System"
  10. title changed to: "tests fail: Solaris cc --enable-symbols=compile"
  11. type changed to: "Bug"