From 6c32f7db08a120f4b8d0fd5134d9ff6ff6a203c8 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 03 Aug 2006 15:02:19 +0000
Subject: [PATCH] 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.
---
opendj-sdk/opends/build.xml | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index 0310a1c..9ddac9a 100644
--- a/opendj-sdk/opends/build.xml
+++ b/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>
--
Gitblit v1.10.0