Hi all,
i've already submitted this issue in the mailing list but still none reply; 2 tests fail on Fedora 22 with tcl-8.6.4/tk-8.6.4:
+ xvfb-run -a make test TCL_LIBRARY=`echo /usr/include/tcl-private` TK_LIBRARY=`echo /usr/include/tk-private` LD_LIBRARY_PATH=".:/usr/lib64/tcl8.6:/usr/lib64:" PATH=".:/usr/lib64/tcl8.6:/usr/lib64:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" TCLLIBPATH="." /usr/bin/wish8.6 `echo ./tests/all.tcl` | cat Tk 8.6.4 tests running in interp: /usr/bin/wish8.6 Tests running with pwd: /home/sagitter/rpmbuild/BUILD/Tktable2.10 Tests running in working dir: /home/sagitter/rpmbuild/BUILD/Tktable2.10/tests Only running tests that match: * Skipping test files that match: l.*.test Only sourcing test files that match: *.test Tests began at Sat Oct 17 22:55:02 CEST 2015 tkTable.test ==== table-1.92 configuration options, -relief FAILED ==== Contents of test case: list [catch {.t configure $name [lindex $test 3]} msg] $msg - ---- Result was: 1 {bad relief "1.5": must be flat, groove, raised, ridge, solid, or sunken} - ---- Result should have been (exact matching): 1 {bad relief type "1.5": must be flat, groove, raised, ridge, solid, or sunken} ==== table-1.92 FAILED ==== table-1.166 tag configuration options, -relief FAILED ==== Contents of test case: list [catch {.t tag configure title $name [lindex $test 3]} msg] $msg - ---- Result was: 1 {bad relief "1.5": must be flat, groove, raised, ridge, solid, or sunken} - ---- Result should have been (exact matching): 1 {bad relief type "1.5": must be flat, groove, raised, ridge, solid, or sunken} ==== table-1.166 FAILED Tests ended at Sat Oct 17 22:55:02 CEST 2015 all.tcl: Total 225 Passed 223 Skipped 0 Failed 2 Sourced 0 Test Files.
This is the full log: http://fpaste.org/280481/
Please, can you help me to fix them?
Both failures manually fixed during RPMs packaging in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1272652#c9
Workaround works in newer versions of Tk; the errors are caused by a recent modification of error message, simply:
sed -e 's/\(bad relief\) type/\1/' -i tests/tkTable.test
Last edit: Antonio Trande 2015-10-27