maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core-it maven-core-it.sh
Date Sun, 15 Aug 2004 16:52:07 GMT
jvanzyl     2004/08/15 09:52:07

  Modified:    maven-core-it maven-core-it.sh
  Log:
  o toss out the log of the build if something goes wrong, otherwise just
    indicate things went OK.
  
  Revision  Changes    Path
  1.13      +13 -9     maven-components/maven-core-it/maven-core-it.sh
  
  Index: maven-core-it.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core-it/maven-core-it.sh,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- maven-core-it.sh	15 Aug 2004 04:28:31 -0000	1.12
  +++ maven-core-it.sh	15 Aug 2004 16:52:07 -0000	1.13
  @@ -12,10 +12,6 @@
   
   for integration_test in $integration_tests
   do
  -
  -  echo "----------------------------------------------------------"
  -  echo "Running integration test $integration_test ..."
  -  echo "----------------------------------------------------------"  
     (
       cd $integration_test
       
  @@ -27,7 +23,6 @@
       fi
       
       m2 clean:clean `cat goals.txt`
  -    ret=$?; if [ $ret != 0 ]; then exit $ret; fi
       
       if [ -f postbuild.hook ]
       then    
  @@ -38,8 +33,17 @@
       
       basedir=.
       
  -    java -cp "$cp" $verifier "$basedir"
  -    ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  -  )
  -  ret=$?; if [ $ret != 0 ]; then exit $ret; fi
  +    java -cp "$cp" $verifier "$basedir"        
  +  ) > ${integration_test}-log.txt
  +
  +  if [ "$?" = "0" ]
  +  then
  +    echo "Integration test $integration_test OK"
  +  else
  +    echo "Integration test $integration_test FAILED!"
  +    echo "Details:"
  +    cat ${integration_test}-log.txt
  +    echo
  +  fi
  +
   done
  
  
  

Mime
View raw message