hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [1/6] hbase git commit: HBASE-18505 Yetus only run root when all modules changed
Date Fri, 13 Oct 2017 17:14:28 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 8d6902ae7 -> aeffd3ad7
  refs/heads/branch-1.1 3a86bfc26 -> 9eeb842e9
  refs/heads/branch-1.2 a68465fba -> f1c145b92
  refs/heads/branch-1.3 1d7ca57a4 -> 9edc26767
  refs/heads/branch-1.4 f2d85c306 -> 03bd72c5e
  refs/heads/branch-2 501f8b950 -> 822cc1ed7


HBASE-18505 Yetus only run root when all modules changed


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

Branch: refs/heads/branch-2
Commit: 822cc1ed73729197d535078beea9aba12946fbe9
Parents: 501f8b9
Author: Mike Drob <mdrob@apache.org>
Authored: Fri Oct 13 12:12:07 2017 -0500
Committer: Mike Drob <mdrob@apache.org>
Committed: Fri Oct 13 12:12:38 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/822cc1ed/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index c0386e5..43371f8 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -111,6 +111,11 @@ function personality_modules
   # and sets -Dtest.exclude.pattern/-Dtest to exclude/include the
   # tests respectively.
   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"
     yetus_debug "EXCLUDE_TESTS_URL = ${EXCLUDE_TESTS_URL}"
     yetus_debug "INCLUDE_TESTS_URL = ${INCLUDE_TESTS_URL}"


Mime
View raw message