Try to get iteropts test running on Travis

This commit is contained in:
Dirk Ziegelmeier 2018-10-18 21:15:48 +02:00
parent cf4cefd73c
commit ca8f0254cf
3 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@ -3,6 +3,7 @@
*.a *.a
*lwip_unittests.xml *lwip_unittests.xml
*.suo *.suo
*.log
.depend .depend
/doc/doxygen/output/html /doc/doxygen/output/html
@ -16,7 +17,6 @@
/contrib/examples/example_app/lwipcfg.h /contrib/examples/example_app/lwipcfg.h
/contrib/examples/example_app/lwipopts_test.h /contrib/examples/example_app/lwipopts_test.h
/contrib/ports/unix/example_app/iteropts.log
/contrib/ports/unix/example_app/build /contrib/ports/unix/example_app/build
/contrib/ports/unix/example_app/example_app /contrib/ports/unix/example_app/example_app
/contrib/ports/unix/example_app/makefsdata /contrib/ports/unix/example_app/makefsdata

2
contrib/ports/unix/example_app/iteropts.sh Normal file → Executable file
View File

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

View File

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