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 Anton Maklakov
parent 26e7d01d42
commit b837e64640

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