The current fop packaging does not run any of the tests. It would be nice to run them
fop's team seems interested in feedback from tests. I see that you resolved the problem by copying qdox.jar from /usr/share/java to lib/build before the build process. I installed the resulting package fop_1.0.dfsg2-2 and ran it on a few test files. The result was OK. It would be good if alternative builds of fop would run a number of our junit tests. The fop team should look into this to formulate a recommendation. Simon
Can't run tests for now, they fails:
[junit] Test org.apache.fop.config.UserConfigTestSuite FAILED
[junit] Test org.apache.fop.StandardTestSuite FAILED
[junit] Test org.apache.fop.BasicTranscoderTestSuite FAILED
[junit] Test org.apache.fop.BasicTranscoderTestSuite FAILED
[junit] Test org.apache.fop.fotreetest.FOTreeTestSuite FAILED
[junit] Test org.apache.fop.layoutengine.LayoutEngineTestSuite FAILED
Adding the output of running the test suite.
Here is current state in fop 2.0: /tmp/fop-2.0+dfsg/build.xml:811: Test org.apache.fop.BasicTranscoderTestSuite failed at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.actOnTestResult(JUnitTask.java:2150) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:1025) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.oneJunitThread(JUnitTask.java:917) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.runTestsInThreads(JUnitTask.java:932) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:841) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.Main.start(Main.java:198) at org.apache.tools.ant.Main.main(Main.java:286)
Since switch of build system to maven src:fop now execute test suite. But since some of them are failing, the results of the tests are currently being discarded.