You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/09/13 18:26:31 UTC

[hbase] branch branch-1 updated: HBASE-23019 Handle --skip-errorprone on branch-1 (#620)

This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1 by this push:
     new 99e7f60  HBASE-23019 Handle --skip-errorprone on branch-1 (#620)
99e7f60 is described below

commit 99e7f60c7d9d91c25ef9138ee3da58d0f00e6a3c
Author: Peter Somogyi <ps...@apache.org>
AuthorDate: Fri Sep 13 20:26:26 2019 +0200

    HBASE-23019 Handle --skip-errorprone on branch-1 (#620)
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
    Signed-off-by: Xu Cang <xc...@salesforce.com>
---
 dev-support/hbase-personality.sh | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 2d87fac..c2be772 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -97,6 +97,10 @@ function personality_parse_args
         delete_parameter "${i}"
         HADOOP_PROFILE=${i#*=}
       ;;
+      --skip-errorprone)
+        delete_parameter "${i}"
+        SKIP_ERRORPRONE=true
+      ;;
     esac
   done
 }
@@ -168,9 +172,9 @@ function personality_modules
     return
   fi
 
-#  if [[ ${testtype} == compile ]]; then
-#    extra="${extra} -PerrorProne"
-#  fi
+  if [[ ${testtype} == compile ]] && [[ "${SKIP_ERRORPRONE}" != "true" ]]; then
+    extra="${extra} -PerrorProne"
+  fi
 
   # If EXCLUDE_TESTS_URL/INCLUDE_TESTS_URL is set, fetches the url
   # and sets -Dtest.exclude.pattern/-Dtest to exclude/include the