Merge branch 'bugfix/improve_component_manager_test_output' into 'master'

Improve message for component manager tests

See merge request espressif/esp-idf!7765
This commit is contained in:
Ivan Grokhotkov
2020-03-03 19:02:31 +08:00

View File

@@ -632,8 +632,8 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
printf "\n#include \"test_component.h\"\n" >> main/main.c 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 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" ! idf.py build || failure "Build should fail if dependencies are not installed"
pip install ${COMPONENT_MANAGER_REPO} pip install ${COMPONENT_MANAGER_REPO} || failure "Failed to install the component manager"
idf.py reconfigure build || failure "Build succeeds once requirements are installed" idf.py reconfigure build || failure "Build didn't succeed with required components installed by package manager"
pip uninstall -y idf_component_manager pip uninstall -y idf_component_manager
rm idf_project.yml rm idf_project.yml
git checkout main/main.c git checkout main/main.c