tools: fix cmake build script for sdkconfig test

This commit is contained in:
Mahavir Jain 2018-11-14 17:57:15 +05:30 committed by bot
parent dbeb8ae02a
commit 007a4fcc4e

View file

@ -156,7 +156,7 @@ function run_tests()
idf.py build
take_build_snapshot
# need to actually change config, or cmake is too smart to rebuild
sed -i s/CONFIG_FREERTOS_UNICORE=/CONFIG_FREERTOS_UNICORE=y/ sdkconfig
sed -i s/^\#\ CONFIG_FREERTOS_UNICORE\ is\ not\ set/CONFIG_FREERTOS_UNICORE=y/ sdkconfig
idf.py build
# check the sdkconfig.h file was rebuilt
assert_rebuilt config/sdkconfig.h