On 19.11.2003 16:22, Torsten Curdt wrote:

AFAICS the above would be enough, if the JVM were not forked (test-build.xml).


So the problem was in the generated block-build.xml

 <junit fork="yes" haltonfailure="yes" printsummary="yes">
  <classpath>
   <path refid="test.classpath"/>
   <path refid="fop.classpath"/>
   <pathelement location="${build.test}"/>
   <pathelement location="${build.blocks}/fop/test"/>
  </classpath>
  <formatter usefile="no" type="plain"/>
  <batchtest>
   <fileset dir="${build.blocks}/fop/test">
    <include name="**/*TestCase.class"/>
    <include name="**/*Test.class"/>
    <exclude name="**/AllTest.class"/>
    <exclude name="**/*$$*Test.class"/>
    <exclude name="**/Abstract*.class"/>
   </fileset>
 </batchtest>
</junit>

The junit fork missed the

<jvmarg value="-Djava.endorsed.dirs=..."/>

So the woody tests are fine now :)

Ah, the blocks have their own test target.


But the XMidiGeneratorTestCase still fails :(

The XMidiGenerator seems to be broken, because the samples do also not work.


Plus I guess in the block-anteater-tests the
the following line might be wrong, too:

<jvmarg value="-Djava.endorsed.dirs=${anteater.home}/lib"/>

Saw this too and wondered, but I don't know what's in ${anteater.home}/lib, never tried it.


Joerg



Reply via email to