mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
3f4e183e3f
Fails because some functions have different parameter lists depending on lwIP options (e.g. netif_add())
27 lines
716 B
Bash
Executable File
27 lines
716 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOGFILE=iteropts.log
|
|
EXAPPDIR=../../../examples/example_app
|
|
RETVAL=0
|
|
|
|
pushd `dirname "$0"`
|
|
pwd
|
|
echo Starting Iteropts run >> $LOGFILE
|
|
for f in $EXAPPDIR/test_configs/*.h
|
|
do
|
|
echo Cleaning...
|
|
make clean > /dev/null
|
|
BUILDLOG=$(basename "$f" ".h").log
|
|
echo testing $f
|
|
echo testing $f >> $LOGFILE
|
|
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)
|
|
echo test $f done >> $LOGFILE
|
|
done
|
|
echo done, cleaning
|
|
make clean > /dev/null
|
|
popd
|
|
exit $RETVAL
|