瀏覽代碼

HDOOP-3966. Copy findbugs generated output files to PATCH_DIR while running test-patch. (contributed by Ramya R)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@689733 13f79535-47bb-0310-9956-ffa450edef68
Lohit Vijaya Renu 17 年之前
父節點
當前提交
2f181479b8
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 2 0
      src/test/bin/test-patch.sh

+ 3 - 0
CHANGES.txt

@@ -402,6 +402,9 @@ Trunk (unreleased changes)
     HADOOP-2168. Fix problem with C++ record reader's progress not being
     reported to framework. (acmurthy via omalley)
 
+    HADOOP-3966. Copy findbugs generated output files to PATCH_DIR while 
+    running test-patch. (Ramya R via lohit)
+
 Release 0.18.1 - Unreleased
 
   BUG FIXES

+ 2 - 0
src/test/bin/test-patch.sh

@@ -434,6 +434,8 @@ $FINDBUGS_HOME/bin/setBugDatabaseInfo -timestamp "01/01/1999" \
   $FINDBUGS_HOME/bin/convertXmlToText -html \
     $BASEDIR/build/test/findbugs/newPatchFindbugsWarnings.xml \
     $BASEDIR/build/test/findbugs/newPatchFindbugsWarnings.html
+  cp $BASEDIR/build/test/findbugs/newPatchFindbugsWarnings.html $PATCH_DIR/newPatchFindbugsWarnings.html
+  cp $BASEDIR/build/test/findbugs/newPatchFindbugsWarnings.xml $PATCH_DIR/newPatchFindbugsWarnings.xml
   if [[ $findbugsWarnings != 0 ]] ; then
     JIRA_COMMENT="$JIRA_COMMENT