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 <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2026-03-26 16:28:49 +01:00
parent 0505ced81d
commit 76e7ea2ba5
@@ -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: