Bläddra i källkod

HDFS-646. Fix test-patch failure by adding test-contrib ant target. Contributed by Giridharan Kesavan.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@818801 13f79535-47bb-0310-9956-ffa450edef68
Giridharan Kesavan 15 år sedan
förälder
incheckning
a4c93fb3cb
3 ändrade filer med 12 tillägg och 4 borttagningar
  1. 3 0
      CHANGES.txt
  2. 9 0
      build.xml
  3. 0 4
      src/contrib/build.xml

+ 3 - 0
CHANGES.txt

@@ -11,6 +11,9 @@ Trunk (unreleased changes)
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
   BUG FIXES
   BUG FIXES
+  
+  HDFS-646. Fix test-patch failure by adding test-contrib ant target.
+  (gkesavan)
 
 
 Release 0.21.0 - Unreleased
 Release 0.21.0 - Unreleased
 
 

+ 9 - 0
build.xml

@@ -600,6 +600,15 @@
     <fail unless="continueOnFailure">Tests failed!</fail>
     <fail unless="continueOnFailure">Tests failed!</fail>
   </target>
   </target>
 
 
+  <target name="test-contrib" depends="compile-hdfs-test" description="Run contrib unit tests">
+    <subant target="test">
+       <property name="version" value="${version}"/>
+       <property name="hadoop-version" value="${hadoop-core.version}"/>
+       <property name="clover.jar" value="${clover.jar}"/>
+       <fileset file="${contrib.dir}/build.xml"/>
+    </subant> 
+  </target> 
+
   <target name="test-core" description="Run hdfs unit tests">
   <target name="test-core" description="Run hdfs unit tests">
     <delete file="${test.build.dir}/testsfailed"/>
     <delete file="${test.build.dir}/testsfailed"/>
     <property name="continueOnFailure" value="true"/>
     <property name="continueOnFailure" value="true"/>

+ 0 - 4
src/contrib/build.xml

@@ -47,10 +47,6 @@
   <target name="test">
   <target name="test">
     <subant target="test">
     <subant target="test">
       <fileset dir="." includes="hdfsproxy/build.xml"/>
       <fileset dir="." includes="hdfsproxy/build.xml"/>
-      <fileset dir="." includes="streaming/build.xml"/>
-      <fileset dir="." includes="fairscheduler/build.xml"/>
-      <fileset dir="." includes="capacity-scheduler/build.xml"/>
-      <fileset dir="." includes="mrunit/build.xml"/>
     </subant>
     </subant>
   </target>
   </target>