As before, I'm seeing a fair number of bundled self-tests fail here. Before I dive into investigating, could somebody, please, confirm that the tests included in 1.4.6 release are reliable and all supposed to work?
For just one example, the bundled tkimg/tga/tests/hori.tga is broken -- even ImageMagick's display-utility fails to show open it citing "improper image header".
Thanks!
You are right. Some of the tests fail.
I will check and correct the test suite in the next days.
Paul
Trying to upgrade the FreeBSD port to version 1.4.7 and the situation with tests seems even worse than before:
Makefileinvokeswishwith argumentall.tcl-- but such a script does not exist. The correct script-name seems to beall-- no suffix.Makefileforgets tocdinto thetests/subdirectory -- and, consequently, the test-scriptlets can't find their test-filesOnce again I ask for a confirmation: has someone done
make test(or otherwise invoked theallscript) and saw it run to completion cleanly?For example, my port tries to avoid using the graphics libraries bundled with the sources -- they should not be bundled to begin with, in my not so humble opinion. So the differences between test and actual images may be due to the port using the latest versions of libtiff, libjpeg (-turbo), etc.
But if the tests are still -- 18 months later -- known to be broken, I will not investigate the test-failures here. Please, advise. Thank you!
Last edit: Mikhail T. 2017-12-31
Here is the test-log output...
Hi Mikhail,
thanks for testing and your report.
I typically only run the automatic tests by going into the (now) global "tests" directory and executing "tclsh all".
I have now updated the configure and Makefiles, so that a "make test" should work, too. Tested on Windows and SuSE Linux. Please check, if the new structure works for you.
Note, that you have to do a "make install" before performing the tests, because the final pkgIndex.tcl file is generated at the installation step.
Regards,
Paul