Merge branch 'feature/remove_component_manager_tests_v4.2' into 'release/v4.2'

ci: Remove component manager test from build system tests (v4.2)

See merge request espressif/esp-idf!16108
This commit is contained in:
Mahavir Jain 2021-11-26 05:17:43 +00:00
commit d8f9e53504

View File

@ -691,19 +691,6 @@ 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"
sed -i.bak "s/CONFIG_ESPTOOLPY_FLASHSIZE.\+//" sdkconfig # remove all flashsize config
echo "CONFIG_ESPTOOLPY_FLASHSIZE_1MB=y" >> sdkconfig # introduce undersize flash