source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/ports/unix/example_app/iteropts.sh@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

File size: 615 bytes
Line 
1#!/bin/bash
2
3LOGFILE=iteropts.log
4EXAPPDIR=../../../examples/example_app
5
6pushd `dirname "$0"`
7pwd
8echo Starting Iteropts run >> $LOGFILE
9for f in $EXAPPDIR/test_configs/*.h
10do
11 echo Cleaning...
12 make clean
13 BUILDLOG=$(basename "$f" ".h").log
14 echo testing $f
15 echo testing $f >> $LOGFILE
16 rm $EXAPPDIR/lwipopts_test.h
17 # cat the file to update its timestamp
18 cat $f > $EXAPPDIR/lwipopts_test.h
19 make TESTFLAGS=-DLWIP_OPTTEST_FILE -j 8 &> $BUILDLOG 2>&1 || echo file $f failed >> $LOGFILE
20 echo test $f done >> $LOGFILE
21done
22echo done, cleaning
23make clean
24popd
Note: See TracBrowser for help on using the repository browser.