xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Austin <jwaus...@sympatico.ca>
Subject Testing for main development stream.
Date Sat, 06 Dec 2003 23:29:35 GMT
I ran a few tests of a recent copy of the 1.0dev
stream and found some errors. 

What are your preferences for problem reports at this time ?

Should I enter issues into BugZilla as I find them ?

Should I take a look at the code and notify the committer
who last worked on anything I find ?

So far:

1) ./build.sh test <-- testing fails quickly
2) ./build.sh junit <-- are there any tests ? 
3) from root directory (the one containing build.xml) I ran:

find test -name "*.fo" -print -exec ./test.sh {} \;

where test.sh contains:

#!/bin/sh

java -Xms100m -Xmx200m -cp
.:build/fop.jar:lib/avalon-framework-4.1.4.jar:lib/batik.jar:lib/commons-io-dev-20030703.jar
org.apache.fop.apps.Fop -fo ${1} -pdf /tmp/$$.pdf

I get quite a few errors.

One example problem (or non-problem):

test/xml/bugtests/image.fo
[INFO] 1.0dev
[ERROR] Error while opening stream for (file:../graphics/page.gif):
.../graphics/page.gif (No such file or directory)
java.io.FileNotFoundException: .../graphics/page.gif (No such file or
directory)
        at java.io.FileInputStream.open(Native Method)


It seems that the relative file reference ../graphics/page.gif is
computed by the program relative to the 'current directory' not
relative to the file: 'test/xml/bugtests/image.fo'.

I'm sure the spec has an opinion on this. There are other errors.
(other opinions too no doubt)

test/xml/bugtests/text-transform.fo
[INFO] 1.0dev
Invalid byte 1 of 1-byte UTF-8 sequence.
Turn on debugging for more information






-- 
John Austin <jwaustin@sympatico.ca>

Mime
View raw message