HADOOP-12226. CHANGED_MODULES is wrong for ant (addendum patch) (aw)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a20c52b6 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a20c52b6 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a20c52b6 Branch: refs/heads/HADOOP-12111 Commit: a20c52b621a78f7d630cd8c6d56be1d5e46c2427 Parents: ce41c53 Author: Allen Wittenauer <[email protected]> Authored: Mon Jul 27 10:53:50 2015 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Mon Jul 27 10:53:50 2015 -0700 ---------------------------------------------------------------------- dev-support/test-patch.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/a20c52b6/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 4dc9cfd..1c9be9c 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -1175,8 +1175,7 @@ function find_changed_modules #shellcheck disable=SC2086,SC2116 CHANGED_UNFILTERED_MODULES=$(echo ${CHANGED_UNFILTERED_MODULES}) - if [[ ${BUILDTOOL} = maven - && ${QETESTMODE} = false ]]; then + if [[ ${BUILDTOOL} = maven ]]; then # Filter out modules without code for module in ${builddirs}; do ${GREP} "<packaging>pom</packaging>" "${module}/pom.xml" > /dev/null @@ -1184,8 +1183,6 @@ function find_changed_modules buildmods="${buildmods} ${module}" fi done - elif [[ ${QETESTMODE} = true ]]; then - buildmods=${builddirs} fi #shellcheck disable=SC2086,SC2034
