mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user