You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@apache.org on 2003/08/12 09:24:41 UTC

cvs commit: xml-axkit smoke.sh

matts       2003/08/12 00:24:41

  Added:       .        smoke.sh
  Log:
  Added smoke testing shell script so anyone can hack on it.
  
  Revision  Changes    Path
  1.1                  xml-axkit/smoke.sh
  
  Index: smoke.sh
  ===================================================================
  #!/bin/sh
  
  export APACHE=/opt/apache/bin/httpd
  export CVS_RSH=ssh
  cvs update -dP >/dev/null 2>&1
  
  perl Makefile.PL --defaultdeps
  RESULTS=`find t -name \*.t | xargs tv -q`
  if [ $? != 0 ]; then
      SUCCESS="Failure"
      ERROR=`cat t/log/error_log`
  else
      SUCCESS="Success"
  fi
  
  echo $RESULTS
  
  /var/qmail/bin/sendmail -fmatt@sergeant.org -t <<EOT
  To: axkit-dev@xml.apache.org
  Subject: Smoke Report: Build $SUCCESS
  From: Automated Smoke Reporter <ma...@sergeant.org>
  
  This is the automated build report from the AxKit smoke tester
  
  $RESULTS
  
  $ERROR
  EOT
  
  make realclean