make perl -c failures fatal b=407783 r=bhearsum

This commit is contained in:
rhelmer@mozilla.com 2007-12-24 11:01:33 -08:00
parent c2c4e6bfa8
commit ede07e2fcb

View File

@ -1,5 +1,6 @@
test:
for f in release t/test.pl `find . -name "*.pm"`; do perl -c $$f; done
for f in release t/test.pl `find . -name "*.pm"`; do \
perl -c $$f || exit $?; done
if [ -f t/test.log ]; then rm t/test.log; fi
if [ ! -f bootstrap.cfg ]; then cp bootstrap.cfg.example bootstrap.cfg; fi
cp t/tinder-config.pl.orig t/tinder-config.pl