Browse Source

HADOOP-3345. Enhance the hudson-test-patch target to cleanup messages, fix minor defects, and add eclipse plugin and python unit tests. Contributed by Nigel Daley.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@653239 13f79535-47bb-0310-9956-ffa450edef68
Nigel Daley 17 năm trước cách đây
mục cha
commit
e8eb7cd965
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      src/test/bin/test-patch.sh

+ 2 - 3
src/test/bin/test-patch.sh

@@ -585,10 +585,9 @@ RESULT=$?
 checkTests
 (( RESULT = RESULT + $? ))
 applyPatch
-(( RESULT = RESULT + $? ))
-if [[ $RESULT != 0 ]] ; then
+if [[ $? != 0 ]] ; then
   submitJiraComment 1
-  cleanupAndExit $RESULT
+  cleanupAndExit 1
 fi
 checkJavadocWarnings
 (( RESULT = RESULT + $? ))