HBASE-18505 Yetus only run root when all modules changed
This commit is contained in:
parent
501f8b9509
commit
822cc1ed73
|
@ -111,6 +111,11 @@ function personality_modules
|
||||||
# and sets -Dtest.exclude.pattern/-Dtest to exclude/include the
|
# and sets -Dtest.exclude.pattern/-Dtest to exclude/include the
|
||||||
# tests respectively.
|
# tests respectively.
|
||||||
if [[ ${testtype} = unit ]]; then
|
if [[ ${testtype} = unit ]]; then
|
||||||
|
# if the modules include root, skip all the submodules HBASE-18505
|
||||||
|
if [[ "${CHANGED_MODULES[*]}" =~ \. ]]; then
|
||||||
|
CHANGED_MODULES=(.)
|
||||||
|
fi
|
||||||
|
|
||||||
extra="${extra} -PrunAllTests"
|
extra="${extra} -PrunAllTests"
|
||||||
yetus_debug "EXCLUDE_TESTS_URL = ${EXCLUDE_TESTS_URL}"
|
yetus_debug "EXCLUDE_TESTS_URL = ${EXCLUDE_TESTS_URL}"
|
||||||
yetus_debug "INCLUDE_TESTS_URL = ${INCLUDE_TESTS_URL}"
|
yetus_debug "INCLUDE_TESTS_URL = ${INCLUDE_TESTS_URL}"
|
||||||
|
|
Loading…
Reference in New Issue