Try to fix iteropts build, try to make travis fail when iteropts test fails

This commit is contained in:
Dirk Ziegelmeier 2019-02-02 23:04:52 +01:00
parent 3f4e183e3f
commit c03e949ca9
2 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,7 @@ do
rm $EXAPPDIR/lwipopts_test.h
# cat the file to update its timestamp
cat $f > $EXAPPDIR/lwipopts_test.h
make TESTFLAGS=-DLWIP_OPTTEST_FILE -Wno-documentation -j 8 1> $BUILDLOG 2>&1 || (RETVAL=1; echo file $f failed >> $LOGFILE; echo ++++++++ $f FAILED +++++++; cat $BUILDLOG)
make TESTFLAGS="-DLWIP_OPTTEST_FILE -Wno-documentation" -j 8 1> $BUILDLOG 2>&1 || (RETVAL=1; echo file $f failed >> $LOGFILE; echo ++++++++ $f FAILED +++++++; cat $BUILDLOG)
echo test $f done >> $LOGFILE
done
echo done, cleaning

View File

@ -45,3 +45,8 @@ fi
cd ..
cd contrib/ports/unix/example_app
./iteropts.sh
ERR=$?
if [ $ERR != 0 ]; then
echo "lwIP iteropts test failed"
exit 33
fi