| Carolyn Gasarch 2006-12-21, 10:07 pm |
| I have compiled Tix 8.4.2 on my computer, and it seemed to go fine.
Tk/Tcl are also up to date.
However, when I ran the suggested tests, I got the following error
for the method.test file.
Since I am new to Tk/Tcl as well as Tix, I don't know the significance
of having this test fail. Why did it happen, and what does it mean for
programs that use it?
Thanks very much for any help you can offer.
Carolyn
-----------------
[root@mycomputer Tix8.4.2]# make test
TCL_LIBRARY=`echo /usr/include/tcl-private/library` TK_LIBRARY=`echo /usr/include/tk-private/library` TIX_LIBRARY=`echo ./library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:" PATH=".:/usr/lib:/usr/lib:/usr/kerberos/sbin:.:/home/gasarch/bin:.:/usr/kerberos/bin:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin" TCLLIBPATH="." /usr/bin/wish8.4 `echo ./tests/all.tcl` | cat
Tix 8.4.2 tests running in interp: /usr/bin/wish8.4
Tests running in working dir: /root/Tix8.4.2
tcl_library = /usr/share/tcl8.4
tk_library = /usr/share/tk8.4
tix_library = ./library
Tests began at Thu Dec 21 12:56:52 PM EST 2006
basic.test
class.test
distyle.test
grid.test
itcl.test
itcl/itk not installed on your system: can't find package Itcl
tests in /root/Tix8.4.2/tests/itcl.test skipped
method.test
==== method-1.1 auto-load method FAILED
==== Contents of test case:
catch {
# Make sure this method needs to be auto-loaded again
rename tixTestClass_method:foo {}
}
tixTestClass_method xx
set a [list [catch {xx foo} msg] $msg]
rename xx {}
set a
---- Result was:
1 {cannot call method "foo" for context "tixTestClass_method".}
---- Result should have been:
0 returned_by_tixTestClass_method:foo
==== method-1.1 FAILED
namesp.test
option.test
Tests ended at Thu Dec 21 12:56:52 PM EST 2006
all.tcl: Total 29 Passed 28 Skipped 0 Failed 1
Sourced 8 Test Files.
Files with failing tests: method.test
|