are you looking for this?
# run perl tests in DIRTESTS, save results in DIRLOG # and send email alarm if tests fail LOG=$DIRLOG/my_tests_`date +%y%m%d.log` cd $DIRTESTS prove *.t | tee $LOG if [ `cat $LOG | grep PASS | wc -l` == '0' ]; then ( echo "FROM: prove" echo "TO: you@somewhere.com" echo "SUBJECT: test failed" cat $LOG ) | sendmail -t fi
In reply to Re: getting is_deeply test::more to print to log
by vinoth.ree
in thread getting is_deeply test::more to print to log
by teamassociated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |