hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r653239 - /hadoop/core/trunk/src/test/bin/test-patch.sh
Date Sun, 04 May 2008 16:07:22 GMT
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 + $? ))



Mime
View raw message