ci(buildv2): collect target tests with IDF_BUILD_V2 active

This commit is contained in:
Sudeep Mohanty
2026-08-20 11:30:32 +02:00
parent c619ab492c
commit 00aea6d1f0

View File

@@ -53,6 +53,8 @@ def patch(path: str) -> None:
# keyword level, so only `script` is overridden; `needs`, `artifacts`,
# `image`, etc. come from the included version.
d['generate_pytest_child_pipeline'] = {
# Set IDF_BUILD_V2 so test-case collection honors `if IDF_BUILD_V2 == "1"`
'variables': {'IDF_BUILD_V2': '1'},
'script': [
'python tools/ci/dynamic_pipelines/scripts/generate_target_test_child_pipeline.py',
'python tools/ci/dynamic_pipelines/scripts/patch_buildv2_target_test_pipeline.py '