Merge branch 'fix/minimal_build_test_components' into 'master'

fix(build): include test components in the minimal build

Closes IDFGH-14746

See merge request espressif/esp-idf!37403
This commit is contained in:
Roland Dobai 2025-03-02 15:30:30 +08:00
commit da69aee8f8

View File

@ -504,7 +504,7 @@ function(__project_init components_var test_components_var)
message(WARNING "The MINIMAL_BUILD property is disregarded because the COMPONENTS variable is defined.")
set(minimal_build OFF)
else()
set(COMPONENTS main)
set(COMPONENTS main ${TEST_COMPONENTS})
set(minimal_build ON)
endif()
else()