From 3d58ec769cdf5684252ac3e47e996f3f1587cd60 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 9 Oct 2025 06:15:30 -1000 Subject: [PATCH] preen --- script/test_build_components.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/script/test_build_components.py b/script/test_build_components.py index 4df70c6887..2644d09938 100755 --- a/script/test_build_components.py +++ b/script/test_build_components.py @@ -351,13 +351,16 @@ def run_grouped_component_tests( if platform_filter and not platform.startswith(platform_filter): continue - # Only group if component has valid bus configs + # Create signature for this component's bus configuration + # Components with no buses get a signature of "no_buses" so they can be grouped together if buses: signature = create_grouping_signature({platform: buses}, platform) - # Only add to grouped_components if signature is non-empty - # (empty means component has no valid bus configurations) - if signature: - grouped_components[(platform, signature)].append(component) + else: + signature = "no_buses" + + # Add to grouped components (including those with no buses) + if signature: + grouped_components[(platform, signature)].append(component) # Print detailed grouping plan print("\nGrouping Plan:")