Test for warnings the libraries build logs too.

This commit is contained in:
Laurent Rineau 2007-02-13 13:59:56 +00:00
parent 55546d2827
commit 753f686a80
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,12 @@ do_platform()
cat install.log.$1 \ cat install.log.$1 \
| sed -n "/${_buildlog_marker} below/,/${_buildlog_marker} above/ p" \ | sed -n "/${_buildlog_marker} below/,/${_buildlog_marker} above/ p" \
> ${libname}_${shared_or_static}/$TEST_REPORT > ${libname}_${shared_or_static}/$TEST_REPORT
# Test if there is a warning in the build log.
if grep -i warning ${libname}_${shared_or_static}/$TEST_REPORT > /dev/null; then
y_or_no=w
fi
echo ${libname}_${shared_or_static} $y_or_no >> $RESULT_FILE echo ${libname}_${shared_or_static} $y_or_no >> $RESULT_FILE
done done
fi fi