Просмотр исходного кода

make: update template configuration before running tests

This fixes build error for non-interactive builds
Ivan Grokhotkov 9 лет назад
Родитель
Сommit
cb6e0b18f1
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      make/build_system_tests.sh

+ 3 - 0
make/build_system_tests.sh

@@ -30,6 +30,9 @@ function run_tests()
 	git clone ${ESP_IDF_TEMPLATE_GIT} template
 	git clone ${ESP_IDF_TEMPLATE_GIT} template
 	cd template
 	cd template
 
 
+	print_status "Updating template config..."
+	make defconfig || exit $?
+
 	BOOTLOADER_BINS="bootloader/bootloader.elf bootloader/bootloader.bin"
 	BOOTLOADER_BINS="bootloader/bootloader.elf bootloader/bootloader.bin"
 	APP_BINS="app-template.elf app-template.bin"
 	APP_BINS="app-template.elf app-template.bin"