hadoop-common-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1077653&view=rev
Log:
commit 208a6df27b635ec0c9b2cf0d2dc5313fcd0c072f
Author: Konstantin Boudnik <cos@apache.org>
Date:   Thu Aug 12 11:39:28 2010 -0700

    HDFS-1311 from https://issues.apache.org/jira/secure/attachment/12451933/y20.backport.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    HDFS-1311. Running tests with 'testcase' cause triple execution of the
    +    same test case (cos)
    +

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=1077653&r1=1077652&r2=1077653&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 04:40:39 2011
@@ -1002,11 +1002,24 @@
   </macrodef>
 
   <target name="test-core" depends="test-commit, test-smoke,
-    test-core-excluding-commit-and-smoke, jar-test"
+    test-core-excluding-commit-and-smoke,
+    test-core-all-withtestcaseonly, jar-test"
     description="Run core unit tests">
   </target>
 
-  <target name="test-core-excluding-commit-and-smoke" depends="jar-test">
+  <target name="test-core-all-withtestcaseonly" depends="jar-test" if="testcase">
+    <macro-test-runner test.file="${test.all.tests.file}"
+                       classpath="${test.classpath.id}"
+                       test.dir="${test.build.dir}"
+                       fileset.dir="${test.src.dir}"
+                       test.krb5.conf="java.security.krb5.conf"
+                       test.krb5.conf.filename="${test.src.dir}/krb5.conf"
+                       >
+    </macro-test-runner>
+  </target>
+
+  <target name="test-core-excluding-commit-and-smoke" depends="jar-test"
+    unless="testcase">
     <macro-test-runner test.file="${test.all.tests.file}"
                        classpath="${test.classpath.id}"
                        test.dir="${test.build.dir}"
@@ -1019,7 +1032,8 @@
   </target>   
 
   <target name="test-commit" depends="jar-test" 
-    description="Run approx 10-minute set of unit tests prior to commiting">
+    description="Run approx 10-minute set of unit tests prior to commiting"
+    unless="testcase">
     <macro-test-runner test.file="${test.commit.tests.file}"
                        classpath="${test.classpath.id}"
                        test.dir="${test.build.dir}"
@@ -1032,7 +1046,7 @@
 
   <target name="test-smoke" depends="jar-test"
     description="Run approx 30-minute set of functional tests prior to
-      guarantee that the build is not DOA">
+      guarantee that the build is not DOA" unless="testcase">
     <macro-test-runner test.file="${test.smoke.tests.file}"
                        classpath="${test.classpath.id}"
                        test.dir="${test.build.dir}"



Mime
View raw message