From c03e949ca9376c6b5de52c9a54e4506d26a6f4e2 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sat, 2 Feb 2019 23:04:52 +0100 Subject: [PATCH] Try to fix iteropts build, try to make travis fail when iteropts test fails --- contrib/ports/unix/example_app/iteropts.sh | 2 +- travis.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/ports/unix/example_app/iteropts.sh b/contrib/ports/unix/example_app/iteropts.sh index a1ca1d7c..44c0f39a 100755 --- a/contrib/ports/unix/example_app/iteropts.sh +++ b/contrib/ports/unix/example_app/iteropts.sh @@ -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 diff --git a/travis.sh b/travis.sh index 34e41f7d..8e1c6666 100755 --- a/travis.sh +++ b/travis.sh @@ -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