浏览代码

HADOOP-8864. Addendum to HADOOP-8840: Add a coloring case for +0 results too. Contributed by Harsh J. (harsh)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1391480 13f79535-47bb-0310-9956-ffa450edef68
Harsh J 12 年之前
父节点
当前提交
b0b03d4f2e
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 1
      dev-support/test-patch.sh
  2. 3 0
      hadoop-common-project/hadoop-common/CHANGES.txt

+ 1 - 1
dev-support/test-patch.sh

@@ -335,7 +335,7 @@ checkTests () {
         echo "The patch appears to be a documentation patch that doesn't require tests."
         JIRA_COMMENT="$JIRA_COMMENT
 
-    +0 tests included.  The patch appears to be a documentation patch that doesn't require tests."
+    {color:green}+0 tests included{color}.  The patch appears to be a documentation patch that doesn't require tests."
         return 0
       fi
     fi

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -117,6 +117,9 @@ Trunk (Unreleased)
     HADOOP-8840. Fix the test-patch colorizer to cover all sorts of +1 lines.
     (Harsh J via bobby)
 
+    HADOOP-8864. Addendum to HADOOP-8840: Add a coloring case for +0 results
+    too. (harsh)
+
   BUG FIXES
 
     HADOOP-8177. MBeans shouldn't try to register when it fails to create MBeanName.