Tk Library Source Code

View Ticket
Login
Ticket UUID: 1016869
Title: math test suite failures in latest cvs snapshot
Type: Bug Version: None
Submitter: lvirden Created on: 2004-08-26 13:48:15
Subsystem: math Assigned To: arjenmarkus
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-09-22 10:55:43
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2004-09-22 03:55:43
Description:
sparc sunblad 100 solaris 8 sun c compiler
tcl 8.4.7

Module: math
modules/math/bessel.test
couldn't read file "polynomials.tcl": no such file or
directory
    while executing
"source "polynomials.tcl""
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/classic_polyns.tcl"
line 4)
    invoked from within
"source [file join [file dirname [info script]]
"classic_polyns.tcl"]"
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/special.tcl"
line 165)
    invoked from within
"source [file join [file dirname [info script]]
special.tcl]"
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/bessel.test"
line 21)
    invoked from within
"source [pSet file]"
modules/math/calculus.test
modules/math/combinatorics.test
modules/math/constants.test
modules/math/elliptic.test
can't import command "Beta": already exists
    while executing
"namespace import ::math::Beta"
    (in namespace eval "::math::special" script line 11)
    invoked from within
"namespace eval ::math::special {
    #
    # Define a number of common mathematical constants
    #
    ::math::constants::constants pi
    variable h..."
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/special.tcl"
line 19)
    invoked from within
"source [file join [file dirname [info script]]
"special.tcl"]"
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/elliptic.test"
line 16)
    invoked from within
"source [pSet file]"
modules/math/fuzzy.test
math::fuzzy 0.2
modules/math/geometry.test
math::geometry 1.0.1
modules/math/interpolate.test
modules/math/math.test
math 1.2.2
modules/math/optimize.test
modules/math/polynomials.test
can't import command "saveState": already exists
    while executing
"namespace import ::tcltest::*"
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/polynomials.test"
line 6)
    invoked from within
"source [pSet file]"
modules/math/qcomplex.test
modules/math/special.test
can't import command "Beta": already exists
    while executing
"namespace import ::math::Beta"
    (in namespace eval "::math::special" script line 11)
    invoked from within
"namespace eval ::math::special {
    #
    # Define a number of common mathematical constants
    #
    ::math::constants::constants pi
    variable h..."
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/special.tcl"
line 19)
    invoked from within
"source [file join [file dirname [info script]]
special.tcl]"
    (file
"/vol/tclsrcsol/tcl84/tcllib/modules/math/special.test"
line 21)
    invoked from within
"source [pSet file]"
modules/math/statistics.test
User Comments: arjenmarkus added on 2004-08-27 16:45:52:
Logged In: YES 
user_id=400048

Fixed the problems - they had to do with importing
procedures from other namespaces and sourcing files from
other locations. One needs to be careful with that :(