iteropts.sh: Fix warning on first run

Running iteropts.sh there is a warning on the first
cycle that lwipopts_test.h cannot be removed.
This commit is contained in:
Florian La Roche 2021-11-24 23:04:14 +01:00 committed by Erik Ekman
parent fdcfb9bdce
commit 3636b3e2d1

View File

@ -14,7 +14,7 @@ do
BUILDLOG=$(basename "$f" ".h").log
echo testing $f
echo testing $f >> $LOGFILE
rm $EXAPPDIR/lwipopts_test.h
rm -f $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 4 1> $BUILDLOG 2>&1