Merge branch 'feature/add_build_sh_to_build_system_test' into 'master'

Add idf_as_lib/build.sh to build_system_test

Closes IDF-1170

See merge request espressif/esp-idf!8540
This commit is contained in:
Ivan Grokhotkov 2020-05-11 19:51:51 +08:00
commit 0c0bfe73ec

View File

@ -447,6 +447,12 @@ function run_tests()
grep "CONFIG_PARTITION_TABLE_TWO_OTA=y" sdkconfig || failure "The define from sdkconfig should be into sdkconfig"
rm sdkconfig sdkconfig.defaults sdkconfig.defaults.esp32
print_status "Test if it can build the example to run on host"
pushd $IDF_PATH/examples/build_system/cmake/idf_as_lib
(set -euo pipefail && source build.sh)
popd
rm -r $IDF_PATH/examples/build_system/cmake/idf_as_lib/build
print_status "Building a project with CMake library imported and PSRAM workaround, all files compile with workaround"
# Test for libraries compiled within ESP-IDF
rm -rf build