mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
03.02.2006 6c32f7db08a120f4b8d0fd5134d9ff6ff6a203c8
Add some emma definitions that were missing in the test target of the build xml file
thus preventing the tests to run and causing the "all" target to fail.

For those interested, after running the all target, the coverage of the unit tests can be see in
openDs/build/coverage/report/index.html

1 files modified
18 ■■■■ changed files
opendj-sdk/opends/build.xml 18 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/build.xml
@@ -656,7 +656,7 @@
        <pathelement location="${coverage.instr.dir}" />
        <path refid="run.classpath" />
        <!--<path refid="emma.lib" />-->
        <path refid="emma.lib" />
        <fileset dir="${lib.dir}">
          <include name="*.jar" />
@@ -668,9 +668,23 @@
        <pathelement location="${unittest.classes.dir}" />
      </classpath>
      <jvmarg  value="-Demma.coverage.out.file=${coverage.data.dir}/coverage.emma" />
      <jvmarg value="-Demma.coverage.out.merge=false" />
      <xmlfileset dir="${testng.dir}" includes="testng.xml" />
    </testng>
    <emma enabled="${coverage.enabled}" >
      <report sourcepath="${srcdir}" >
      <!-- <property name="verbosity.level" value="verbose" /> -->
          <fileset dir="${coverage.data.dir}" >
           <include name="*.emma" />
      </fileset>
      <txt outfile="${coverage.report.dir}/coverage.txt" />
       <html outfile="${coverage.report.dir}/index.html" />
      </report>
    </emma>
  </target>