瀏覽代碼

HADOOP-4074. Commenting out release audit in patch testing process until it can be fixed.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@692271 13f79535-47bb-0310-9956-ffa450edef68
Nigel Daley 17 年之前
父節點
當前提交
c290427f24
共有 1 個文件被更改,包括 7 次插入5 次删除
  1. 7 5
      src/test/bin/test-patch.sh

+ 7 - 5
src/test/bin/test-patch.sh

@@ -156,10 +156,11 @@ setup () {
   echo "======================================================================"
   echo "======================================================================"
   echo ""
   echo ""
   echo ""
   echo ""
+  ### DISABLE RELEASE AUDIT UNTIL HADOOP-4074 IS FIXED
   ### Do not call releaseaudit when run by a developer
   ### Do not call releaseaudit when run by a developer
-  if [[ $HUDSON == "true" ]] ; then
-    $ANT_HOME/bin/ant -Dversion="${VERSION}" -DHadoopPatchProcess= releaseaudit &> $PATCH_DIR/trunkReleaseAuditWarnings.txt
-  fi
+  ### if [[ $HUDSON == "true" ]] ; then
+    ### $ANT_HOME/bin/ant -Dversion="${VERSION}" -DHadoopPatchProcess= releaseaudit &> $PATCH_DIR/trunkReleaseAuditWarnings.txt
+  ### fi
   $ANT_HOME/bin/ant -Dversion="${VERSION}" -Djavac.args="-Xlint -Xmaxwarns 1000" $ECLIPSE_PROPERTY -DHadoopPatchProcess= clean tar &> $PATCH_DIR/trunkJavacWarnings.txt
   $ANT_HOME/bin/ant -Dversion="${VERSION}" -Djavac.args="-Xlint -Xmaxwarns 1000" $ECLIPSE_PROPERTY -DHadoopPatchProcess= clean tar &> $PATCH_DIR/trunkJavacWarnings.txt
   if [[ $? != 0 ]] ; then
   if [[ $? != 0 ]] ; then
     echo "Trunk compilation is broken?"
     echo "Trunk compilation is broken?"
@@ -639,8 +640,9 @@ checkFindbugsWarnings
 (( RESULT = RESULT + $? ))
 (( RESULT = RESULT + $? ))
 ### Do not call these when run by a developer 
 ### Do not call these when run by a developer 
 if [[ $HUDSON == "true" ]] ; then
 if [[ $HUDSON == "true" ]] ; then
-  checkReleaseAuditWarnings
-  (( RESULT = RESULT + $? ))
+  ### DISABLE RELEASE AUDIT UNTIL HADOOP-4074 IS FIXED
+  ### checkReleaseAuditWarnings
+  ### (( RESULT = RESULT + $? ))
   runCoreTests
   runCoreTests
   (( RESULT = RESULT + $? ))
   (( RESULT = RESULT + $? ))
   runContribTests
   runContribTests