From e970913733936d939078c154559e1c1bd7b8434f Mon Sep 17 00:00:00 2001 From: Sweety Date: Tue, 20 Jul 2021 20:28:07 +0530 Subject: [PATCH] Fix for scripts/build test failure (#8499) --- BUILD.gn | 5 ++++- scripts/build/expected_all_platform_commands.txt | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index ee06f5a3240b87..098e9711d90d78 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -138,7 +138,10 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") { group("check") { if (chip_link_tests) { - deps = [ "//src:tests_run" ] + deps = [ + "//scripts/build:build_examples.tests", + "//src:tests_run", + ] } } diff --git a/scripts/build/expected_all_platform_commands.txt b/scripts/build/expected_all_platform_commands.txt index 3220461d27fd08..f113de90a66c80 100644 --- a/scripts/build/expected_all_platform_commands.txt +++ b/scripts/build/expected_all_platform_commands.txt @@ -11,7 +11,7 @@ cd - # Generating esp32-devkitc-all_clusters cd "{root}" -bash -c 'source $IDF_PATH/export.sh; idf.py -D SDKCONFIG_DEFAULTS='"'"'sdkconfig_devkit.defaults'"'"' -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all_clusters reconfigure' +bash -c 'source $IDF_PATH/export.sh; idf.py -D SDKCONFIG_DEFAULTS='"'"'sdkconfig.defaults'"'"' -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all_clusters reconfigure' cd - # Generating esp32-devkitc-lock @@ -50,7 +50,7 @@ bash -c 'source $IDF_PATH/export.sh; ninja -C '"'"'{out}/esp32-m5stack-all_clust # Generating esp32-devkitc-all_clusters cd "{root}" -bash -c 'source $IDF_PATH/export.sh; idf.py -D SDKCONFIG_DEFAULTS='"'"'sdkconfig_devkit.defaults'"'"' -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all_clusters reconfigure' +bash -c 'source $IDF_PATH/export.sh; idf.py -D SDKCONFIG_DEFAULTS='"'"'sdkconfig.defaults'"'"' -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all_clusters reconfigure' cd - # Building esp32-devkitc-all_clusters