diff --git a/tools/ci/test_build_system_cmake.sh b/tools/ci/test_build_system_cmake.sh index 2931c24d84..593ca1b8de 100755 --- a/tools/ci/test_build_system_cmake.sh +++ b/tools/ci/test_build_system_cmake.sh @@ -701,20 +701,8 @@ endmenu\n" >> ${IDF_PATH}/Kconfig git checkout CMakeLists.txt rm -f log.txt - print_status "Compiles with dependencies delivered by component manager" - clean_build_dir - # Make sure that component manager is not installed - pip uninstall -y idf_component_manager - printf "\n#include \"test_component.h\"\n" >> main/main.c - printf "dependencies:\n test_component:\n path: test_component\n git: ${COMPONENT_MANAGER_TEST_REPO}\n" >> idf_project.yml - ! idf.py build || failure "Build should fail if dependencies are not installed" - pip install ${COMPONENT_MANAGER_REPO} || failure "Failed to install the component manager" - idf.py reconfigure build || failure "Build didn't succeed with required components installed by package manager" - pip uninstall -y idf_component_manager - rm idf_project.yml - git checkout main/main.c - 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" @@ -837,7 +825,6 @@ endmenu\n" >> ${IDF_PATH}/Kconfig rm -rf "$IDF_PATH/example_proj" - print_status "All tests completed" if [ -n "${FAILURES}" ]; then echo "Some failures were detected:"