Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | LOGFILE=iteropts.log
|
---|
4 | EXAPPDIR=../../../examples/example_app
|
---|
5 |
|
---|
6 | pushd `dirname "$0"`
|
---|
7 | pwd
|
---|
8 | echo Starting Iteropts run >> $LOGFILE
|
---|
9 | for f in $EXAPPDIR/test_configs/*.h
|
---|
10 | do
|
---|
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
|
---|
21 | done
|
---|
22 | echo done, cleaning
|
---|
23 | make clean
|
---|
24 | popd
|
---|
Note:
See
TracBrowser
for help on using the repository browser.