From ca8f0254cf236e3edc37db97fea91f48870b061e Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 18 Oct 2018 21:15:48 +0200 Subject: [PATCH] Try to get iteropts test running on Travis --- .gitignore | 2 +- contrib/ports/unix/example_app/iteropts.sh | 2 +- travis.sh | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 contrib/ports/unix/example_app/iteropts.sh diff --git a/.gitignore b/.gitignore index 596514b1..2ee883bc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.a *lwip_unittests.xml *.suo +*.log .depend /doc/doxygen/output/html @@ -16,7 +17,6 @@ /contrib/examples/example_app/lwipcfg.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/example_app /contrib/ports/unix/example_app/makefsdata diff --git a/contrib/ports/unix/example_app/iteropts.sh b/contrib/ports/unix/example_app/iteropts.sh old mode 100644 new mode 100755 index 42ac4e57..f5239d5d --- a/contrib/ports/unix/example_app/iteropts.sh +++ b/contrib/ports/unix/example_app/iteropts.sh @@ -16,7 +16,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 -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 done echo done, cleaning diff --git a/travis.sh b/travis.sh index 8acac57f..f46ac848 100755 --- a/travis.sh +++ b/travis.sh @@ -41,3 +41,7 @@ if [ $ERR != 0 ]; then echo "lwIP documentation failed" exit 33 fi + +cd .. +cd contrib/ports/unix/example_app +./iteropts.sh