mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
More cleanups to travis.sh - run all test even if some fail
Try to get maximum on information in one build run
This commit is contained in:
parent
a7b06bef5f
commit
049cae841d
25
travis.sh
25
travis.sh
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
RETVAL=0
|
||||||
|
|
||||||
cd contrib/ports/unix/check
|
cd contrib/ports/unix/check
|
||||||
|
|
||||||
#build and run unit tests
|
#build and run unit tests
|
||||||
@ -10,8 +12,8 @@ make check -j 4
|
|||||||
ERR=$?
|
ERR=$?
|
||||||
echo Return value from unittests: $ERR
|
echo Return value from unittests: $ERR
|
||||||
if [ $ERR != 0 ]; then
|
if [ $ERR != 0 ]; then
|
||||||
echo "unittests build failed"
|
echo "++++++++++++++++++++++++++++++ unittests build failed"
|
||||||
exit 33
|
RETVAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build example_app using cmake, this tests the CMake toolchain
|
# Build example_app using cmake, this tests the CMake toolchain
|
||||||
@ -26,8 +28,8 @@ cd build
|
|||||||
ERR=$?
|
ERR=$?
|
||||||
echo Return value from cmake generate: $ERR
|
echo Return value from cmake generate: $ERR
|
||||||
if [ $ERR != 0 ]; then
|
if [ $ERR != 0 ]; then
|
||||||
echo "cmake GENERATE failed"
|
echo "++++++++++++++++++++++++++++++ cmake GENERATE failed"
|
||||||
exit 33
|
RETVAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build CMake
|
# Build CMake
|
||||||
@ -35,8 +37,8 @@ fi
|
|||||||
ERR=$?
|
ERR=$?
|
||||||
echo Return value from build: $ERR
|
echo Return value from build: $ERR
|
||||||
if [ $ERR != 0 ]; then
|
if [ $ERR != 0 ]; then
|
||||||
echo "cmake build failed"
|
echo "++++++++++++++++++++++++++++++ cmake build failed"
|
||||||
exit 33
|
RETVAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build docs
|
# Build docs
|
||||||
@ -44,8 +46,8 @@ fi
|
|||||||
ERR=$?
|
ERR=$?
|
||||||
echo Return value from lwipdocs: $ERR
|
echo Return value from lwipdocs: $ERR
|
||||||
if [ $ERR != 0 ]; then
|
if [ $ERR != 0 ]; then
|
||||||
echo "lwIP documentation failed"
|
echo "++++++++++++++++++++++++++++++ lwIP documentation failed"
|
||||||
exit 33
|
RETVAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test different lwipopts.h
|
# Test different lwipopts.h
|
||||||
@ -55,6 +57,9 @@ cd contrib/ports/unix/example_app
|
|||||||
ERR=$?
|
ERR=$?
|
||||||
echo Return value from iteropts: $ERR
|
echo Return value from iteropts: $ERR
|
||||||
if [ $ERR != 0 ]; then
|
if [ $ERR != 0 ]; then
|
||||||
echo "lwIP iteropts test failed"
|
echo "++++++++++++++++++++++++++++++ lwIP iteropts test failed"
|
||||||
exit 33
|
RETVAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo Exit value: $RETVAL
|
||||||
|
exit $RETVAL
|
||||||
|
Loading…
Reference in New Issue
Block a user