Merge branch 'bugfix/shell_runner_fails_pacman' into 'master'

Fix cmake component management test on shell runners

See merge request espressif/esp-idf!8398
pull/5182/head
Ivan Grokhotkov 2020-04-20 18:23:42 +08:00
commit 28b9acabe2
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -661,6 +661,8 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
print_status "Compiles with dependencies delivered by component manager" print_status "Compiles with dependencies delivered by component manager"
clean_build_dir 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 "\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"