You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by md...@apache.org on 2018/03/12 23:10:08 UTC
hbase git commit: HBASE-20153 Add error prone to precommit
Repository: hbase
Updated Branches:
refs/heads/branch-1 55b3c0c21 -> b54a439e5
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/b54a439e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b54a439e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b54a439e
Branch: refs/heads/branch-1
Commit: b54a439e5096f842cc7acf89fd12f2d917a44550
Parents: 55b3c0c
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 17:37:11 2018 -0500
----------------------------------------------------------------------
dev-support/hbase-personality.sh | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b54a439e/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index ddf9dee..eaa48fd 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.