OK.  The new Guile/JNI testing framework has _finally_ been committed.

See doc/testing.framework.text for the documentation.

See testsuite/java.lang/ByteTest.java for a good example of how tests
should be written.

Building the testing framework has not been automated.  Brian, I'll
let you do this. :)

Building requires a recent snapshot of Guile (ie. 1.3a), and compiling
guile-jvm.c using the JDK should go something along the lines of:

gcc guile-jvm.c -I`build-guile info includedir` -I/usr/local/java/include 
-I/usr/local/java/include/genunix -L/usr/local/java/lib/i586/green_threads -ljava 
-L`build-guile info libdir` `build-guile link`

I haven't tried getting this up and running with Japhar.  If it
doesn't work, it's Japhar's fault. :)

Running the testsuite goes something like:

guile-jvm -s testsuite/scheme/test.scm testsuite/config/tests

It finds tests based on the CLASSPATH.

As tests get converted to the new framework, I'd like for them to be
moved from tests/* to testsuite/*.

-- 
Paul Fisher * [EMAIL PROTECTED]

Reply via email to