Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fda5cca585d76783c0d75b4fcf59183858c3772a
Ticket: 696854ffffffffffffffffffffffffffffffffff
stop defaulting to GCC compiler
User & Date: dgp on 2003-03-03 21:14:46
Changes

  1. assignee changed to: "jenglish"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % parray tcl_platform
    tcl_platform(byteOrder) = bigEndian
    tcl_platform(machine)   = IP35
    tcl_platform(os)        = IRIX64
    tcl_platform(osVersion) = 6.5
    tcl_platform(platform)  = unix
    tcl_platform(user)      = dgp
    tcl_platform(wordSize)  = 4
    
    execute.test
    
    ==== execute-7.33 Wide int handling FAILED
    ==== Contents of test case:
    
        expr {0x1 * 1024 * 1024 * 1024 * 1024}
    
    ---- Result was:
    1099511627776
    ---- Result should have been (exact matching):
    0
    ==== execute-7.33 FAILED
    
    expr-old.test
    
    ==== expr-old-32.31 math functions in expressions FAILED
    ==== Contents of test case:
    
        expr int(-1.4)
    
    ---- Result was:
    integer value too large to represent
    ---- Result should have been (exact matching):
    -1
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== expr-old-32.31 FAILED
    
    
    ==== expr-old-32.32 math functions in expressions FAILED
    ==== Contents of test case:
    
        expr int(-1.6)
    
    ---- Result was:
    integer value too large to represent
    ---- Result should have been (exact matching):
    -1
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== expr-old-32.32 FAILED
    
    
    ==== expr-old-32.37 math functions in expressions FAILED
    ==== Contents of test case:
    
        expr round(-1.49)
    
    ---- Result was:
    integer value too large to represent
    ---- Result should have been (exact matching):
    -1
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== expr-old-32.37 FAILED
    
    
    ==== expr-old-32.38 math functions in expressions FAILED
    ==== Contents of test case:
    
        expr round(-1.51)
    
    ---- Result was:
    integer value too large to represent
    ---- Result should have been (exact matching):
    -2
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== expr-old-32.38 FAILED
    
    
    ==== expr-old-37.1 Check that Tcl_ExprLong doesn't
    modify interpreter result if no error FAILED
    ==== Contents of test case:
    
        testexprlong
    
    ---- Result was:
    expression didn't have numeric value
    ---- Result should have been (exact matching):
    This is a result: 5
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== expr-old-37.1 FAILED
    
    obj.test
    
    ==== obj-27.1 Tcl_NewLongObj FAILED
    ==== Contents of test case:
    
        set result ""
        lappend result [testobj freeallvars]
        testintobj setmaxlong 1
        lappend result [testintobj ismaxlong 1]
        lappend result [testobj type 1]
        lappend result [testobj refcount 1]
    
    ---- Result was:
    {} 0 int 1
    ---- Result should have been (exact matching):
    {} 1 int 1
    ==== obj-27.1 FAILED
    
    socket.test
    
    ==== socket-2.3 tcp connection with client interface
    specified FAILED
    ==== Contents of test case:
    
        removeFile script
        set f [open $path(script) w]
        puts $f {
            set timer [after 2000 "set x done"]
            set f [socket  -server accept 2830]
            proc accept {file addr port} {
                global x
                puts "[gets $file] $addr"
                close $file
                set x done
            }
            puts ready
            vwait x
            after cancel $timer
            close $f
        }
        close $f
        set f [open "|[list [interpreter] $path(script)]" r]
        gets $f x
        if {[catch {socket -myaddr 127.0.0.1 127.0.0.1
    2830} sock]} {
            set x $sock
        } else {
            puts $sock hello
            flush $sock
            lappend x [gets $f]
            close $sock
        }
        close $f
        set x
    
    ---- Result was:
    ready {hello 0.0.0.0}
    ---- Result should have been (exact matching):
    ready {hello 127.0.0.1}
    ==== socket-2.3 FAILED
    
    
    ==== socket-7.1 testing socket specific options FAILED
    ==== Contents of test case:
    
        removeFile script
        set f [open $path(script) w]
        puts $f {
            set ss [socket -server accept 0]
            proc accept args {
                global x
                set x done
            }
            puts ready
            puts [lindex [fconfigure $ss -sockname] 2]
            set timer [after 10000 "set x timed_out"]
            vwait x
            after cancel $timer
        }
        close $f
        set f [open "|[list [interpreter] $path(script)]" r]
        gets $f
        gets $f listen
        set s [socket 127.0.0.1 $listen]
        set p [fconfigure $s -peername]
        close $s
        close $f
        set l ""
        lappend l [string compare [lindex $p 0] 127.0.0.1]
        lappend l [string compare [lindex $p 2] $listen]
        lappend l [llength $p]
    
    ---- Result was:
    -1 0 3
    ---- Result should have been (exact matching):
    0 0 3
    ==== socket-7.1 FAILED
    
    
    ==== socket-7.5 testing socket specific options FAILED
    ==== Contents of test case:
    
        set s [socket -server accept 0]
        proc accept {s a p} {
            global x
            set x [fconfigure $s -sockname]
            close $s
        }
        set listen [lindex [fconfigure $s -sockname] 2]
        set s1 [socket 127.0.0.1 $listen]
        set timer [after 10000 "set x timed_out"]
        vwait x
        after cancel $timer
        close $s
        close $s1
        set l ""
        lappend l [lindex $x 0] [expr {[lindex $x 2] ==
    $listen}] [llength $x]
    
    ---- Result was:
    0.0.0.0 1 3
    ---- Result should have been (exact matching):
    127.0.0.1 1 3
    ==== socket-7.5 FAILED
    
    stringObj.test
    
    ==== stringObj-7.3 SetStringFromAny called with
    non-string obj FAILED
    ==== Contents of test case:
    
        set x 2345
        list [incr x] [testobj objtype $x] [string index $x
    end]  [testobj objtype $x]
    
    ---- Result was:
    2346 wideInt 6 string
    ---- Result should have been (exact matching):
    2346 int 6 string
    ==== stringObj-7.3 FAILED
    
    
    ==== stringObj-11.1 UpdateStringOfString FAILED
    ==== Contents of test case:
    
        set x 2345
        list [string index $x end] [testobj objtype $x]
    [incr x]  [testobj objtype $x]
    
    ---- Result was:
    5 string 2346 wideInt
    ---- Result should have been (exact matching):
    5 string 2346 int
    ==== stringObj-11.1 FAILED
    
    unixInit.test
    
    ==== unixInit-1.2 initialisation: standard channel type
    deduction FAILED
    ==== Contents of test case:
    
        # pipe1 is a connection to a server that reports
    what port it
        # starts on, and delivers a constant string to the
    first client to
        # connect to that port before exiting.
        set pipe1 [open "|[list [interpreter]]" r+]
        puts $pipe1 {
            proc accept {channel host port} {
                puts $channel {puts [fconfigure stdin
    -peername]; exit}
                close $channel
                exit
            }
            puts [fconfigure [socket -server accept 0]
    -sockname]
            vwait forever  }
        # Note the backslash above; this is important to
    make sure that the
        # whole string is read before an [exit] can happen...
        flush $pipe1
        set port [lindex [gets $pipe1] 2]
        set sock [socket localhost $port]
        # pipe2 is a connection to a Tcl interpreter that
    takes its orders
        # from the socket we hand it (i.e. the server we
    create above.)
        # These orders will tell it to print out the
    details about the
        # socket it is taking instructions from, hopefully
    identifying it
        # as a socket.  Which is what this test is all about.
        set pipe2 [open "|[list [interpreter] <@$sock]" r]
        set result [gets $pipe2]
    
        # Clear any pending data; stops certain kinds of
    (non-important) errors
        fconfigure $pipe1 -blocking 0; gets $pipe1
        fconfigure $pipe2 -blocking 0; gets $pipe2
    
        # Close the pipes and the socket.
        close $pipe2
        close $pipe1
        catch {close $sock}
    
        # Can't use normal comparison, as hostname varies
    due to some
        # installations having a messed up /etc/hosts file.
        if {
            [string equal 127.0.0.1 [lindex $result 0]] &&
            [string equal $port     [lindex $result 2]]
        } then {
            subst "OK"
        } else {
            subst "Expected: `[list 127.0.0.1 localhost
    $port]', Got `$result'"
        }
    
    ---- Result was:
    Expected: `127.0.0.1 localhost 7716', Got `0.0.0.0
    localhost 7716'
    ---- Result should have been (exact matching):
    OK
    ==== unixInit-1.2 FAILED
    
    
    
  4. foundin changed to: "obsolete: 8.4.2"
  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: "None"
  10. title changed to: "IRIX64: 13 failed tests"
  11. type changed to: "RFE"