diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index ad4ed2f27f3..b16c440f940 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -281,6 +281,7 @@ pytest_buildv2_system: test_reproducible_build.py test_sdkconfig.py test_versions.py + test_common.py pytest_build_system_macos: extends: diff --git a/tools/test_build_system/test_common.py b/tools/test_build_system/test_common.py index d79ea420998..e7f4cc69e53 100644 --- a/tools/test_build_system/test_common.py +++ b/tools/test_build_system/test_common.py @@ -71,7 +71,8 @@ def test_idf_build_with_env_var_sdkconfig_defaults(test_app_copy: Path, default_ fw.write('CONFIG_BT_ENABLED=y') default_idf_env['SDKCONFIG_DEFAULTS'] = 'sdkconfig.test' - run_idf_py('build', env=default_idf_env) + # idf.py reconfigure would generate the sdkconfig file + run_idf_py('reconfigure', env=default_idf_env) with open(test_app_copy / 'sdkconfig') as fr: assert 'CONFIG_BT_ENABLED=y' in fr.read()