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

gbellato
03.02.2006 e4121d90231444f220f13e44abcab6a143f3587b
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
opends/build.xml 18 ●●●● patch | view | raw | blame | history
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>