hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077130 - /hadoop/common/branches/branch-0.20-security-patches/build.xml
Date Fri, 04 Mar 2011 03:44:03 GMT
Author: omalley
Date: Fri Mar  4 03:44:03 2011
New Revision: 1077130

URL: http://svn.apache.org/viewvc?rev=1077130&view=rev
Log:
commit cd04fcd32eb9ac3db24fbc7f9bb740a69d3e4320
Author: Konstantin Boudnik <cos@yahoo-inc.com>
Date:   Wed Jan 27 14:19:19 2010 -0800

    Revert "HADOOP-6506 from https://issues.apache.org/jira/secure/attachment/12431166/HADOOP-6506.patch"
    This reverts commit a04f14f5755efe84aebf91fa061fa3ee99ec9017.
    
    +++ b/YAHOO-CHANGES.txt

Modified:
    hadoop/common/branches/branch-0.20-security-patches/build.xml

Modified: hadoop/common/branches/branch-0.20-security-patches/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/build.xml?rev=1077130&r1=1077129&r2=1077130&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/build.xml (original)
+++ hadoop/common/branches/branch-0.20-security-patches/build.xml Fri Mar  4 03:44:03 2011
@@ -857,14 +857,9 @@
         <fileset dir="${test.src.dir}" includes="**/${testcase}.java"/>
       </batchtest>
     </junit>
-    <antcall target="checkfailure"/>
+    <fail if="tests.failed">Tests failed!</fail>
   </target>   
 
-  <target name="checkfailure" if="tests.failed">
-    <touch file="${test.build.dir}/testsfailed"/>
-    <fail unless="continueOnFailure">Tests failed!</fail>
-  </target>
-
   <target name="test-contrib" depends="compile, compile-core-test" description="Run contrib
unit tests">
     <subant target="test">
        <property name="version" value="${version}"/>
@@ -872,14 +867,9 @@
     </subant> 
   </target>
 	  
-  <target name="test" description="Run core, contrib, fault injection tests">
-    <delete file="${test.build.dir}/testsfailed"/>
-    <property name="continueOnFailure" value="true"/>
-    <antcall target="test-core"/>
-    <antcall target="test-contrib"/>
-    <antcall target="run-test-core-fault-inject"/>
-    <available file="${test.build.dir}/testsfailed" property="testsfailed"/>
-    <fail if="testsfailed">Tests failed!</fail>
+  <target name="test" depends="test-core, test-contrib,
+    run-test-core-fault-inject"
+    description="Run core, contrib, fault injection tests">
   </target>
 
   <!-- Run all unit tests, not just Test*, and use non-test configuration. -->



Mime
View raw message