[tcljava-dev] Jacl test initiative begins.
Brought to you by:
mdejong
From: Mo D. <md...@cy...> - 2000-12-22 10:06:45
|
Thanks to a lot of hard work by Christian Krone, Jacl 1.3 is now able to run the tcltest package from Tcl 8.3. Jacl currently uses a pre-8.0 test suite. Updating the test suite is going to be a lot of hard work, but at least the first step has begun. I just checked in the tcltest.tcl file from the Tcl 8.3 suite, along with the changes needed to get it running. Each test file is going to need to be updated so that: if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest namespace import -force ::tcltest::* } appears at the top and: # cleanup ::tcltest::cleanupTests return appears at the bottom. I have already updated all the test cases in the following directories: tests/inprogress tests/jacl tests/tclblend tests/tcljava Now for the hard part. All of the tests in tests/tcl are going to need to be updated to match the ones in Tcl 8.3. This is going to send the number of test case failures through the roof, since Jacl does not implement all of Tcl 8.3 yet. My plan is to update all the existing test cases and then start the long process of upgrading Jacl so that it passes all of the test cases. Note that we are only going to be able to test for things that are actually implemented. The good news is that the list of things that has not been implemented is getting smaller all the time. As always, if you are willing to lend a hand please say so! This process will go much more quickly if folks help out. My hope is that when this process is finished, Jacl will be 99% compatible with Tcl 8.3. cheers Mo DeJong Red Hat Inc |