Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-06
02:44 • Ticket [217760ffff] summary of test suite failures status still Deleted with... artifact: e540761b42 user: dgp
2000-10-26
07:35 • Deleted ticket [217760ffff]. artifact: 6cc9ae6afa user: welch
00:33 • New ticket [217760ffff]. artifact: 10f6cb84ee user: nobody

summary of test suite failures

Deleted217760ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:33:10
OriginalBugID: 1769 Bug
SubmitDate: '1999-04-09'
LastModified: '1999-11-23'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: jenn
RelatedBugIDs: 1770
OS: Solaris
OSVersion: SunOS 5.6
Machine: Other
FixedDate: '2000-10-25'
FixedInVersion: 8.2.3
ClosedDate: '1999-11-23'


Name:
Don Porter

Comments:
http tests are skipped because the file tests/httpd is missing
    from the distribution.
    
    msgcat tests fail when $env(LANG) != "C".
    
    pkgMkIndex tests fail because a subdirectory "pkg" is left
    behind in the working directory (unix) from a previous run
    of 'make test'.  The [file delete -force] near the end of
    pkgMkIndex.test fails to remove the directory because the
    filesystem is NFS mounted, and something somewhere is 
    holding a reference to the directory, so NFS won't let it
    go away.  Perhaps migration to use of 
    ::tcltest::cleanupTests might fix this?
    
    Don't know why unixInit fails.

ObservedBehavior:
$ cd tcl8.1b3/unix
    $ ./configure --enable-gcc
    $ make all test
    ...
    http.test
    Cannot read /home/fs3c/dgp/tcl8.1b3/tests/httpd script, http test
    skipped
    ...
    msgcat.test
    
    ==== msgcat-1.1 ::msgcat::mclocale default FAILED
    ---- Result was:
    en_us
    ---- Result should have been:
    c
    ==== msgcat-1.1 FAILED
    
    ==== msgcat-1.2 ::msgcat::mcpreferences, single element FAILED
    ---- Result was:
    en_us en
    ---- Result should have been:
    c
    ==== msgcat-1.2 FAILED
    ...
    pkgMkIndex.test
    
    ==== pkgMkIndex-2.1 simple package FAILED
    ---- Result was:
    1 {no files matched glob pattern "simple.tcl"}
    ---- Result should have been:
    0 {{simple:1.0 {tclPkgSetup {simple.tcl source {::simple::lower
    ::simple::upper}}}}}
    ==== pkgMkIndex-2.1 FAILED
    ...
    < 14 more similar failures in pkgMkIndex.test >
    ...
    unixInit.test
    
    ==== unixInit-3.2 TclpSetInitialEncodings FAILED
    ---- Result was:
    iso8859-1
    ---- Result should have been:
    euc-jp
    ==== unixInit-3.2 FAILED

DesiredBehavior:
All tests passed.



Added httpd to the distribution.

Added a constraint to skip 2 msgcat tests:

if {[info exists env(LANG)] && ($env(LANG) != "C")} {
    set ::tcltest::testConfig(LANGisC) 0
} else {
    set ::tcltest::testConfig(LANGisC) 1
}

pkgMkIndex:  fixed this by using the pkg in the tests dir with the full path rather than copying it into the user's working dir.

I don't know waht unixInit-3.2 is failing, but it happens to me too:
Build tcl8.1 on uncle with Release-Static.  Then add a soft link from tcl8.1/solaris-sparc/lib/tcl8.1 to tcl8.1/library, so the sell appears to be installed.  The cd into tcl8.1/solaris-sparc/Release-Static and run the following:
./tcltest  ../../tests/unixInit.test
==== unixInit-3.2 TclpSetInitialEncodings FAILED
==== Contents of test case:

    set env(LANG) japanese

    set f [open "|[list $tcltest]" w+]
    fconfigure $f -buffering none
    puts $f {puts [encoding system]; exit}
    set enc [gets $f]
    close $f
    unset env(LANG)

    set enc

---- Result was:
iso8859-1
---- Result should have been:
euc-jp
==== unixInit-3.2 FAILED

-hershey

This test seems to have been fixed somewhere along the way.  The test
number that's failing is now unixInit-3.1, and the expected result
is set to iso8859-1.  Integrated in tcl8.2.3.

-- 11/23/1999 jenn
welch Deleted ticket [217760ffff]. [History diff]2000-10-26 07:35:07
dgp Ticket [217760ffff]: 3 changes [History diff]2001-04-06 02:44:51
Log in (anonymous is fine) to add a comment.