mirror of
https://github.com/espressif/esp-idf
synced 2025-03-11 18:19:07 -04:00
ci: Fix build system tests to clean the dir
This commit is contained in:
parent
a4ced2bf55
commit
b5d459ee05
@ -692,6 +692,7 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
|
||||
rm -f log.txt
|
||||
|
||||
print_status "Build fails if partitions don't fit in flash"
|
||||
clean_build_dir
|
||||
sed -i.bak "s/CONFIG_ESPTOOLPY_FLASHSIZE.\+//" sdkconfig # remove all flashsize config
|
||||
echo "CONFIG_ESPTOOLPY_FLASHSIZE_1MB=y" >> sdkconfig # introduce undersize flash
|
||||
( idf.py build 2>&1 | grep "does not fit in configured flash size 1MB" ) || failure "Build didn't fail with expected flash size failure message"
|
||||
|
Loading…
x
Reference in New Issue
Block a user