Repository: yetus Updated Branches: refs/heads/master 577e74f2c -> eb90f1423
YETUS-176. hadoop: mvn site tests aren't getting run Signed-off-by: Sean Busbey <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/eb90f142 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/eb90f142 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/eb90f142 Branch: refs/heads/master Commit: eb90f1423031384e0ffc42cdb8da019eae4f50ea Parents: 577e74f Author: Allen Wittenauer <[email protected]> Authored: Wed Nov 11 18:52:25 2015 -0800 Committer: Allen Wittenauer <[email protected]> Committed: Tue Nov 17 22:07:38 2015 -0800 ---------------------------------------------------------------------- precommit/personality/hadoop.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/eb90f142/precommit/personality/hadoop.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/hadoop.sh b/precommit/personality/hadoop.sh index eaeb79a..6ff2a22 100755 --- a/precommit/personality/hadoop.sh +++ b/precommit/personality/hadoop.sh @@ -302,6 +302,8 @@ function personality_modules extra="${extra} ${flags}" fi + extra="-Ptest-patch ${extra}" + hadoop_module_manipulation ${ordering} for module in ${HADOOP_MODULES}; do @@ -327,13 +329,14 @@ function personality_file_tests || ${filename} =~ src/main/conf ]]; then yetus_debug "tests/shell: ${filename}" + add_test mvnsite add_test unit elif [[ ${filename} =~ \.md$ || ${filename} =~ \.md\.vm$ || ${filename} =~ src/site ]]; then yetus_debug "tests/site: ${filename}" - add_test site + add_test mvnsite elif [[ ${filename} =~ \.c$ || ${filename} =~ \.cc$ || ${filename} =~ \.h$ @@ -343,18 +346,22 @@ function personality_file_tests || ${filename} =~ CMakeLists.txt ]]; then yetus_debug "tests/units: ${filename}" + add_test compile add_test cc - add_test unit + add_test mvnsite add_test javac + add_test unit elif [[ ${filename} =~ build.xml$ || ${filename} =~ pom.xml$ || ${filename} =~ \.java$ || ${filename} =~ src/main ]]; then yetus_debug "tests/javadoc+units: ${filename}" + add_test compile add_test javac add_test javadoc add_test mvninstall + add_test mvnsite add_test unit fi
