From b5d459ee0513f81e37fa08fe508ad909fbe7f663 Mon Sep 17 00:00:00 2001 From: Sergei Silnov Date: Wed, 1 Dec 2021 18:29:42 +0100 Subject: [PATCH] ci: Fix build system tests to clean the dir --- tools/ci/test_build_system_cmake.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ci/test_build_system_cmake.sh b/tools/ci/test_build_system_cmake.sh index ea5bc2e8c3..65e02539bb 100755 --- a/tools/ci/test_build_system_cmake.sh +++ b/tools/ci/test_build_system_cmake.sh @@ -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"