HADOOP-7768. PreCommit-HADOOP-Build is failing on hadoop-auth-examples

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas White 2011-10-27 00:13:31 +00:00
parent 10dc6b0927
commit e51c3a18ec
1 changed files with 2 additions and 2 deletions

View File

@ -598,8 +598,8 @@ runTests () {
echo "" echo ""
echo "" echo ""
echo "$MVN clean install test -Pnative -D${PROJECT_NAME}PatchProcess" echo "$MVN clean install -Pnative -D${PROJECT_NAME}PatchProcess"
$MVN clean install test -Pnative -D${PROJECT_NAME}PatchProcess $MVN clean install -Pnative -D${PROJECT_NAME}PatchProcess
if [[ $? != 0 ]] ; then if [[ $? != 0 ]] ; then
### Find and format names of failed tests ### Find and format names of failed tests
failed_tests=`find . -name 'TEST*.xml' | xargs $GREP -l -E "<failure|<error" | sed -e "s|.*target/surefire-reports/TEST-| |g" | sed -e "s|\.xml||g"` failed_tests=`find . -name 'TEST*.xml' | xargs $GREP -l -E "<failure|<error" | sed -e "s|.*target/surefire-reports/TEST-| |g" | sed -e "s|\.xml||g"`