mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(ci): Fixed Tools related CI tests
This commit is contained in:
@@ -55,4 +55,3 @@ tools/templates/sample_component/main.c
|
||||
tools/templates/sample_project/CMakeLists.txt
|
||||
tools/templates/sample_project/main/CMakeLists.txt
|
||||
tools/templates/sample_project/main/main.c
|
||||
tools/test_build_system/buildv2_test_app/main/KConfig.projbuild
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Misspelled Kconfig file checks whether it is picked up by the build system
|
||||
config FROM_MISSPELLED_KCONFIG
|
||||
bool "From misspelled Kconfig"
|
||||
default y
|
||||
@@ -263,7 +263,8 @@ def test_build_with_misspelled_kconfig(idf_py: IdfPyFunc, test_app_copy: Path) -
|
||||
logging.info('idf.py can build with misspelled Kconfig file')
|
||||
ret = idf_py('build')
|
||||
assert " file should be named 'Kconfig.projbuild'" in ret.stderr, 'Misspelled Kconfig file should be detected'
|
||||
assert_built(BOOTLOADER_BINS + APP_BINS + PARTITION_BIN)
|
||||
kconfig_app_bins = ['build/kconfig_test_app.elf', 'build/kconfig_test_app.bin']
|
||||
assert_built(BOOTLOADER_BINS + kconfig_app_bins + PARTITION_BIN)
|
||||
with open(test_app_copy / 'sdkconfig') as f:
|
||||
sdkconfig = f.read()
|
||||
assert 'CONFIG_FROM_MISSPELLED_KCONFIG=y' in sdkconfig, (
|
||||
|
||||
Reference in New Issue
Block a user