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 [EMAIL PROTECTED] -t <<EOT
To: [EMAIL PROTECTED]
Subject: Smoke Report: Build $SUCCESS
From: Automated Smoke Reporter <[EMAIL PROTECTED]>
This is the automated build report from the AxKit smoke tester
$RESULTS
$ERROR
EOT
make realclean