Skip to content

Commit e6c143b

Browse files
author
jfpoilpret
committed
Fix builds script issue finding errors when there are not.
1 parent fc15cf3 commit e6c143b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

make/build-release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ do
2424
echo "Target: $TARGET"
2525
make CONF=$TARGET clean clean-examples >/dev/null 2>&1
2626
make CONF=$TARGET examples 2>errors | $MAKEDIR/stats.py >newsizes-$TARGET
27-
grep "Error" errors
27+
# NOTE One class is named I2CErrorPolicy and thus must be removed from the search
28+
grep "Error" errors | grep -v I2CErrorPolicy
2829
# check if error found, then abort
2930
if [ $? -ne 1 ]; then
3031
echo "Error occurred, aborting."

make/quickbuild

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ make clean-all >/dev/null 2>&1
1818
make clean-examples-all >/dev/null 2>&1
1919

2020
echo "Build all examples for all targets"
21-
export TARGETS="UNO ATtiny84"
21+
#export TARGETS="UNO ATtiny84"
22+
export TARGETS="UNO"
2223
for TARGET in $TARGETS
2324
do
2425
echo "Target: $TARGET"
2526
make CONF=$TARGET examples 2>errors | $MAKEDIR/stats.py >newsizes-$TARGET
26-
grep "Error" errors
27+
grep "Error" errors | grep -v "I2CErrorPolicy"
2728
# check if error found, then abort
2829
if [ $? -ne 1 ]; then
2930
echo "Error occurred, aborting."

0 commit comments

Comments
 (0)