]> granicus.if.org Git - esp-idf/commitdiff
make: update template configuration before running tests
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 25 Aug 2016 02:28:25 +0000 (10:28 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Thu, 25 Aug 2016 02:28:25 +0000 (10:28 +0800)
This fixes build error for non-interactive builds

make/build_system_tests.sh

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