ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Zheng" <digua...@gmail.com>
Subject where is the test report in html format
Date Thu, 28 Sep 2006 07:01:30 GMT
I think there should be some report about the test ,and I found the
following in the Build.xml ,

  <target name="junit-report" depends="junit-tests,junit-single-test"
      if="run.junit.report">
    <mkdir dir="${build.junit.reports}" />
    <junitreport todir="${build.junit.reports}">
      <fileset dir="${build.junit.xml}">
        <include name="TEST-*.xml"/>
      </fileset>
      <report format="frames" todir="${build.junit.reports}"/>
</junitreport>
  </target>

but why I could not find the report generated by junit-report?
Plz point out the mistake I have made.

And what I want to do is to run ant test on another JVM (Harmony of apache)
,

<target name="test-init"
depends="probe-offline,check_for_optional_packages">
    <macrodef name="test-junit">
      <element name="junit-nested" implicit="true" />
      <sequential>
        <mkdir dir="${build.junit.xml}" />
        <junit printsummary="${junit.summary}"
               haltonfailure="${test.haltonfailure}"
               fork="yes"

jvm="D:\Java\workspace\harmony\trunk\deploy\jdk\jre\bin\java.exe"
               forkmode="${junit.forkmode}"
               failureproperty="junit.failed"
               errorproperty="junit.failed"
               filtertrace="${junit.filtertrace}">
          <jvmarg value="-Djava.compiler=D:\Java\jdk1.5.0_06\bin\javac.exe"
/>

but it doesn't work , I must have make some mistakes , plz point them out .

thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message