From 00aea6d1f0089f2fc1e62ecd8eb32cb3ba004db4 Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Thu, 20 Aug 2026 11:30:32 +0200 Subject: [PATCH] ci(buildv2): collect target tests with IDF_BUILD_V2 active --- .../dynamic_pipelines/scripts/patch_buildv2_child_pipeline.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci/dynamic_pipelines/scripts/patch_buildv2_child_pipeline.py b/tools/ci/dynamic_pipelines/scripts/patch_buildv2_child_pipeline.py index e67325ff24b..781cd5524fb 100644 --- a/tools/ci/dynamic_pipelines/scripts/patch_buildv2_child_pipeline.py +++ b/tools/ci/dynamic_pipelines/scripts/patch_buildv2_child_pipeline.py @@ -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 '