Author: cos
Date: Mon Oct 4 04:40:34 2010
New Revision: 1004110
URL: http://svn.apache.org/viewvc?rev=1004110&view=rev
Log:
HDFS-1420. Clover build doesn't generate per-test coverage. Contributed by
Konstantin Boudnik
Modified:
hadoop/hdfs/trunk/CHANGES.txt
hadoop/hdfs/trunk/build.xml
Modified: hadoop/hdfs/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=1004110&r1=1004109&r2=1004110&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Mon Oct 4 04:40:34 2010
@@ -1218,6 +1218,8 @@ Release 0.21.0 - Unreleased
HDFS-1413. Fix broken links to HDFS Wiki. (shv)
+ HDFS-1420. Clover build doesn't generate per-test coverage (cos)
+
Release 0.20.3 - Unreleased
IMPROVEMENTS
Modified: hadoop/hdfs/trunk/build.xml
URL:
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/build.xml?rev=1004110&r1=1004109&r2=1004110&view=diff
==============================================================================
--- hadoop/hdfs/trunk/build.xml (original)
+++ hadoop/hdfs/trunk/build.xml Mon Oct 4 04:40:34 2010
@@ -1305,7 +1305,8 @@
<taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
<mkdir dir="${clover.db.dir}"/>
<clover-setup initString="${clover.db.dir}/hadoop_coverage.db">
- <fileset dir="src" includes="java/**/*"/>
+ <fileset dir="${src.dir}" includes="java/**/*"/>
+ <testsources dir="${test.src.dir}" />
</clover-setup>
<echo message="HDFS-783: test-libhdfs is disabled for Clover'ed builds" />
</target>