Repository: hbase
Updated Branches:
  refs/heads/branch-2 4033405b3 -> d42886f4f
  refs/heads/branch-2.0 546929c54 -> f7323881b
  refs/heads/master 774974889 -> 9342e0091


HBASE-20153 Add error prone to precommit


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d42886f4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d42886f4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d42886f4

Branch: refs/heads/branch-2
Commit: d42886f4fe72f917a6f8499674727081765a53af
Parents: 4033405
Author: Mike Drob <md...@apache.org>
Authored: Fri Mar 9 15:48:44 2018 -0600
Committer: Mike Drob <md...@apache.org>
Committed: Mon Mar 12 16:06:08 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d42886f4/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index b2fc76e..b67777a 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -155,6 +155,10 @@ function personality_modules
     return
   fi
 
+  if [[ ${testtype} == compile ]]; 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
   # tests respectively.

Reply via email to