adding a sync to build-tests

This commit is contained in:
Alex Shinn 2012-07-10 22:29:44 +09:00
parent 2af9643115
commit d4cd223d7e

View file

@ -29,6 +29,7 @@ for opts in $(cat ${BUILDDIR}/build-opts.txt); do
opts=$(echo ${opts} | tr ';' ' ')
$MAKE cleaner 2>&1 >/dev/null
if $MAKE $opts chibi-scheme 2>&1 >${BUILDDIR}/build${i}-make.out; then
sync
if $MAKE test 2>&1 | tee ${BUILDDIR}/build${i}-test.out \
| grep -q -E 'FAIL|ERROR'; then
echo "[FAIL] ${i}: tests failed with $opts"