Fix cmake component management test on shell runners

This commit is contained in:
Sergei Silnov 2020-04-17 16:02:53 +02:00
parent f245a518be
commit 44d77c7100

View file

@ -661,6 +661,8 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
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"