Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4c2349da44b6c71eb29f527b7c69ab1586e7319d
Ticket: 218596ffffffffffffffffffffffffffffffffff
tcl builds, but test suite fails
User & Date: nobody on 2000-10-26 01:02:55
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1393 Bug
    Version: 8.0.4
    SubmitDate: '1999-03-02'
    LastModified: '1999-08-15'
    Severity: CRIT
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Other
    Machine: NA
    FixedDate: '1999-08-15'
    FixedInVersion: 8.0.5
    ClosedDate: '2000-10-25'
    
    
    Name:
    Steve Kelem
    
    ReproducibleScript:
    #! /bin/csh -f
    ./configure --enable-shared --enable-gcc --x-libraries=/tools/X11R6.4/lib --x-includes=/tools/X11R6.4/include --prefix=/usr/local/gnu | & tee Configure.out.solaris.2.6
    
    I'm using gcc-2.8.1 on Solaris 2.6.
    
    ObservedBehavior:
    pkgMkIndex.test
    
    ==== pkgMkIndex-1.1 nothing matches pattern - current dir is the same
    ==== Contents of test case:
    
        list [pkgtest::runIndex pkg nomatch.tcl] [pwd]
    
    ==== Result was:
    {1 {error deleting "pkg/pkgIndex.tcl": not a directory}} /usr/local/gnusrc/tcl8.0.4/tests
    ---- Result should have been:
    {1 {no files matched glob pattern "nomatch.tcl"}} /usr/local/gnusrc/tcl8.0.4/tests
    ---- pkgMkIndex-1.1 FAILED
    
    ==== pkgMkIndex-2.1 simple package
    ==== Contents of test case:
    
        pkgtest::runIndex pkg simple.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{simple:1.0 {tclPkgSetup {simple.tcl source {::simple::lower ::simple::upper}}}}}
    ---- pkgMkIndex-2.1 FAILED
    
    ==== pkgMkIndex-2.2 simple package - use -direct
    ==== Contents of test case:
    
        pkgtest::runIndex -direct pkg simple.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{simple:1.0 {source pkg/simple.tcl}}}
    ---- pkgMkIndex-2.2 FAILED
    
    ==== pkgMkIndex-3.1 simple package with global symbols
    ==== Contents of test case:
    
        pkgtest::runIndex pkg global.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{global:1.0 {tclPkgSetup {global.tcl source {global_lower global_upper}}}}}
    ---- pkgMkIndex-3.1 FAILED
    
    ==== pkgMkIndex-4.1 split package
    ==== Contents of test case:
    
        pkgtest::runIndex pkg pkg2_a.tcl pkg2_b.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg2:1.0 {tclPkgSetup {pkg2_a.tcl source ::pkg2::p2-1} {pkg2_b.tcl source ::pkg2::p2-2}}}}
    ---- pkgMkIndex-4.1 FAILED
    
    ==== pkgMkIndex-4.2 split package - direct loading
    ==== Contents of test case:
    
        pkgtest::runIndex -direct pkg pkg2_a.tcl pkg2_b.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg2:1.0 {source pkg/pkg2_a.tcl
    source pkg/pkg2_b.tcl}}}
    ---- pkgMkIndex-4.2 FAILED
    
    ==== pkgMkIndex-5.1 requires -direct package
    ==== Contents of test case:
    
        pkgtest::runIndex pkg std.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{std:1.0 {tclPkgSetup {std.tcl source {::std::p1 ::std::p2}}}}}
    ---- pkgMkIndex-5.1 FAILED
    
    ==== pkgMkIndex-6.1 pkg1 requires pkg3
    ==== Contents of test case:
    
        pkgtest::runIndex pkg pkg1.tcl pkg3.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg1:1.0 {tclPkgSetup {pkg1.tcl source {::pkg1::p1-1 ::pkg1::p1-2}}}} {pkg3:1.0 {tclPkgSetup {pkg3.tcl source {::pkg3::p3-1 ::pkg3::p3-2}}}}}
    ---- pkgMkIndex-6.1 FAILED
    
    ==== pkgMkIndex-6.2 pkg1 requires pkg3 - use -direct
    ==== Contents of test case:
    
        pkgtest::runIndex -direct pkg pkg1.tcl pkg3.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg1:1.0 {source pkg/pkg1.tcl}} {pkg3:1.0 {source pkg/pkg3.tcl}}}
    ---- pkgMkIndex-6.2 FAILED
    
    ==== pkgMkIndex-7.1 pkg4 uses pkg3
    ==== Contents of test case:
    
        pkgtest::runIndex pkg pkg4.tcl pkg3.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg3:1.0 {tclPkgSetup {pkg3.tcl source {::pkg3::p3-1 ::pkg3::p3-2}}}} {pkg4:1.0 {tclPkgSetup {pkg4.tcl source {::pkg4::p4-1 ::pkg4::p4-2}}}}}
    ---- pkgMkIndex-7.1 FAILED
    
    ==== pkgMkIndex-7.2 pkg4 uses pkg3 - use -direct
    ==== Contents of test case:
    
        pkgtest::runIndex -direct pkg pkg4.tcl pkg3.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg3:1.0 {source pkg/pkg3.tcl}} {pkg4:1.0 {source pkg/pkg4.tcl}}}
    ---- pkgMkIndex-7.2 FAILED
    
    ==== pkgMkIndex-8.1 pkg5 uses pkg2
    ==== Contents of test case:
    
        pkgtest::runIndex pkg pkg5.tcl pkg2_a.tcl pkg2_b.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg2:1.0 {tclPkgSetup {pkg2_a.tcl source ::pkg2::p2-1} {pkg2_b.tcl source ::pkg2::p2-2}}} {pkg5:1.0 {tclPkgSetup {pkg5.tcl source {::pkg5::p5-1 ::pkg5::p5-2}}}}}
    ---- pkgMkIndex-8.1 FAILED
    
    ==== pkgMkIndex-8.2 pkg5 uses pkg2 - use -direct
    ==== Contents of test case:
    
        pkgtest::runIndex -direct pkg pkg5.tcl pkg2_a.tcl pkg2_b.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{pkg2:1.0 {source pkg/pkg2_a.tcl
    source pkg/pkg2_b.tcl}} {pkg5:1.0 {source pkg/pkg5.tcl}}}
    ---- pkgMkIndex-8.2 FAILED
    
    ==== pkgMkIndex-9.1 circular packages
    ==== Contents of test case:
    
        pkgtest::runIndex pkg circ1.tcl circ2.tcl circ3.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{circ1:1.0 {tclPkgSetup {circ1.tcl source {::circ1::c1-1 ::circ1::c1-2 ::circ1::c1-3 ::circ1::c1-4}}}} {circ2:1.0 {tclPkgSetup {circ2.tcl source {::circ2::c2-1 ::circ2::c2-2}}}} {circ3:1.0 {tclPkgSetup {circ3.tcl source ::circ3::c3-1}}}}
    ---- pkgMkIndex-9.1 FAILED
    
    ==== pkgMkIndex-10.1 package in DLL and script
    ==== Contents of test case:
    
    pkgtest::runIndex pkg pkga[info sharedlibextension] pkga.tcl
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {{Pkga:1.0 {tclPkgSetup {pkga.so load {pkga_eq pkga_quote}} {pkga.tcl source pkga_neq}}}}
    ---- pkgMkIndex-10.1 FAILED
    
    ==== pkgMkIndex-10.2 package in DLL hidden by -load
    ==== Contents of test case:
    
    pkgtest::runIndex -load Pkg* -- pkg pkga[info sharedlibextension]
    
    ==== Result was:
    1 {error deleting "pkg/pkgIndex.tcl": not a directory}
    ---- Result should have been:
    0 {}
    ---- pkgMkIndex-10.2 FAILED
    
    DesiredBehavior:
    No tests should fail after successful build.
    
    
    
    All these tests function without failure on 8.0.5 with a similar
    env (Sol7, gcc). 
    -- 08/15/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "tcl builds, but test suite fails"
  11. type changed to: "Bug"