mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
tools/ci: add test case for convert_to_cmake script
Following issue was already fixed with earlier commit-id f4cfca4353
Here additional build test case is added and marking issue as closed.
Closes: https://github.com/espressif/esp-idf/issues/2660
This commit is contained in:
@@ -258,6 +258,14 @@ function run_tests()
|
|||||||
mv ${IDF_PATH}/components/esp32/toolchain-esp32.cmake ${IDF_PATH}/tools/cmake/
|
mv ${IDF_PATH}/components/esp32/toolchain-esp32.cmake ${IDF_PATH}/tools/cmake/
|
||||||
assert_built ${APP_BINS} ${BOOTLOADER_BINS} ${PARTITION_BIN}
|
assert_built ${APP_BINS} ${BOOTLOADER_BINS} ${PARTITION_BIN}
|
||||||
|
|
||||||
|
print_status "Can build with auto generated CMakeLists.txt"
|
||||||
|
clean_build_dir
|
||||||
|
mv CMakeLists.txt CMakeLists.bak
|
||||||
|
${IDF_PATH}/tools/cmake/convert_to_cmake.py .
|
||||||
|
idf.py build || failure "Auto generated CMakeLists.txt build failed"
|
||||||
|
mv CMakeLists.bak CMakeLists.txt
|
||||||
|
assert_built ${APP_BINS} ${BOOTLOADER_BINS} ${PARTITION_BIN}
|
||||||
|
|
||||||
print_status "All tests completed"
|
print_status "All tests completed"
|
||||||
if [ -n "${FAILURES}" ]; then
|
if [ -n "${FAILURES}" ]; then
|
||||||
echo "Some failures were detected:"
|
echo "Some failures were detected:"
|
||||||
|
Reference in New Issue
Block a user