We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ea366 commit 99e7f60Copy full SHA for 99e7f60
dev-support/hbase-personality.sh
@@ -97,6 +97,10 @@ function personality_parse_args
97
delete_parameter "${i}"
98
HADOOP_PROFILE=${i#*=}
99
;;
100
+ --skip-errorprone)
101
+ delete_parameter "${i}"
102
+ SKIP_ERRORPRONE=true
103
+ ;;
104
esac
105
done
106
}
@@ -168,9 +172,9 @@ function personality_modules
168
172
return
169
173
fi
170
174
171
-# if [[ ${testtype} == compile ]]; then
-# extra="${extra} -PerrorProne"
-# fi
175
+ if [[ ${testtype} == compile ]] && [[ "${SKIP_ERRORPRONE}" != "true" ]]; then
176
+ extra="${extra} -PerrorProne"
177
+ fi
178
179
# If EXCLUDE_TESTS_URL/INCLUDE_TESTS_URL is set, fetches the url
180
# and sets -Dtest.exclude.pattern/-Dtest to exclude/include the
0 commit comments