ci: add test for partition_table target

This commit is contained in:
Renz Bagaporo 2020-03-05 11:04:01 +08:00
parent 7db5c3ffd1
commit 797eff6534

View file

@ -223,6 +223,10 @@ function run_tests()
(grep '"command"' build/compile_commands.json | grep -v mfix-esp32-psram-cache-issue) && failure "All commands in compile_commands.json should use PSRAM cache workaround" (grep '"command"' build/compile_commands.json | grep -v mfix-esp32-psram-cache-issue) && failure "All commands in compile_commands.json should use PSRAM cache workaround"
mv sdkconfig.bak sdkconfig mv sdkconfig.bak sdkconfig
print_status "Displays partition table when executing target partition_table"
idf.py partition_table | grep -E "# Espressif .+ Partition Table"
rm -r build
print_status "Make sure a full build never runs '/usr/bin/env python' or similar" print_status "Make sure a full build never runs '/usr/bin/env python' or similar"
OLDPATH="$PATH" OLDPATH="$PATH"
PYTHON="$(which python)" PYTHON="$(which python)"