You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ni...@apache.org on 2008/05/04 18:07:22 UTC
svn commit: r653239 - /hadoop/core/trunk/src/test/bin/test-patch.sh
Author: nigel
Date: Sun May 4 09:07:22 2008
New Revision: 653239
URL: http://svn.apache.org/viewvc?rev=653239&view=rev
Log:
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.
Modified:
hadoop/core/trunk/src/test/bin/test-patch.sh
Modified: hadoop/core/trunk/src/test/bin/test-patch.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/bin/test-patch.sh?rev=653239&r1=653238&r2=653239&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/bin/test-patch.sh (original)
+++ hadoop/core/trunk/src/test/bin/test-patch.sh Sun May 4 09:07:22 2008
@@ -585,10 +585,9 @@
checkTests
(( RESULT = RESULT + $? ))
applyPatch
-(( RESULT = RESULT + $? ))
-if [[ $RESULT != 0 ]] ; then
+if [[ $? != 0 ]] ; then
submitJiraComment 1
- cleanupAndExit $RESULT
+ cleanupAndExit 1
fi
checkJavadocWarnings
(( RESULT = RESULT + $? ))