HBASE-20153 Add error prone to precommit

This commit is contained in:
Mike Drob 2018-03-09 15:48:44 -06:00
parent 55b3c0c21b
commit b54a439e50
1 changed files with 4 additions and 0 deletions

View File

@ -155,6 +155,10 @@ function personality_modules
return return
fi fi
if [[ ${testtype} == compile ]]; then
extra="${extra} -PerrorProne"
fi
# If EXCLUDE_TESTS_URL/INCLUDE_TESTS_URL is set, fetches the url # If EXCLUDE_TESTS_URL/INCLUDE_TESTS_URL is set, fetches the url
# and sets -Dtest.exclude.pattern/-Dtest to exclude/include the # and sets -Dtest.exclude.pattern/-Dtest to exclude/include the
# tests respectively. # tests respectively.