yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [2/2] yetus git commit: YETUS-176-00.
Date Tue, 17 Nov 2015 22:58:37 GMT
YETUS-176-00.


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/3f4279a3
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/3f4279a3
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/3f4279a3

Branch: refs/heads/YETUS-83
Commit: 3f4279a32cc4d157f41949d007670606623d2db5
Parents: 4f6a369
Author: Allen Wittenauer <aw@apache.org>
Authored: Tue Nov 17 14:58:09 2015 -0800
Committer: Allen Wittenauer <aw@apache.org>
Committed: Tue Nov 17 14:58:09 2015 -0800

----------------------------------------------------------------------
 precommit/personality/hadoop.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/3f4279a3/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
 


Mime
View raw message