From 76e7ea2ba53e7bbb1ca409959fb53948fec64642 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Thu, 26 Mar 2026 16:28:49 +0100 Subject: [PATCH] fix(cmakev2): skip root component tests until cmakev2 support is added The TestIdfRootDependency tests (test_basic_build, test_build_only_when_required, test_cleanup_unused) were introduced in MR 39704 to validate the idf_extra_components.yml root dependency feature. This feature relies on component manager integration that is not yet implemented in the cmakev2 build system, causing all three tests to fail when run with --buildv2. Skip these tests for cmakev2 using the buildv2_skip marker until root components support is added (IDF-14259). Signed-off-by: Frantisek Hrbata --- tools/test_build_system/test_component_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/test_build_system/test_component_manager.py b/tools/test_build_system/test_component_manager.py index 9848a733d6..247468c2fb 100644 --- a/tools/test_build_system/test_component_manager.py +++ b/tools/test_build_system/test_component_manager.py @@ -204,6 +204,8 @@ class TestOptionalDependencyWithKconfig: assert ['espressif__mdns'] == data['build_component_info']['foo']['reqs'] +# TODO: IDF-14259 - Add root components support to cmakev2 +@pytest.mark.buildv2_skip('Root components (idf_extra_components.yml) not yet supported in cmakev2') @pytest.mark.revert_later(['tools/idf_extra_components.yml']) class TestIdfRootDependency: def test_basic_build(self, idf_py: IdfPyFunc, test_app_copy: Path) -> None: