Fix iteropts test

This commit is contained in:
Dirk Ziegelmeier
2018-10-18 21:59:36 +02:00
parent 8f8c0d26ef
commit c05b07c314
9 changed files with 22 additions and 27 deletions

View File

@@ -2,6 +2,7 @@
LOGFILE=iteropts.log
EXAPPDIR=../../../examples/example_app
RETVAL=0
pushd `dirname "$0"`
pwd
@@ -16,9 +17,10 @@ do
rm $EXAPPDIR/lwipopts_test.h
# cat the file to update its timestamp
cat $f > $EXAPPDIR/lwipopts_test.h
make TESTFLAGS=-DLWIP_OPTTEST_FILE -j 8 &> $BUILDLOG 2>&1 || echo file $f failed >> $LOGFILE; cat $BUILDLOG
make TESTFLAGS=-DLWIP_OPTTEST_FILE -j 8 &> $BUILDLOG 2>&1 || (RETVAL=1; echo file $f failed >> $LOGFILE; echo ++++++++ $f FAILED +++++++; cat $BUILDLOG)
echo test $f done >> $LOGFILE
done
echo done, cleaning
make clean
popd
exit $RETVAL