From 587ae6f77014e04906e1257e83012e81c53bb4b8 Mon Sep 17 00:00:00 2001 From: Daniel Paul Date: Wed, 2 Sep 2026 13:19:22 +0200 Subject: [PATCH] fix: KConfig test output format --- tools/test_build_system/test_component_manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/test_build_system/test_component_manager.py b/tools/test_build_system/test_component_manager.py index ce85dc23283..486b458539d 100644 --- a/tools/test_build_system/test_component_manager.py +++ b/tools/test_build_system/test_component_manager.py @@ -152,10 +152,11 @@ class TestOptionalDependencyWithKconfig: res = idf_py('reconfigure', check=False) assert res.returncode != 0 - assert ( + expected = ( f'OF_COURSE_NO_ONE_USE_FOO, introduced by example/cmp, ' - f'defined in {str(test_app_copy / "main" / "idf_component.yml")}' in res.stderr + f'defined in {str(test_app_copy / "main" / "idf_component.yml")}' ) + assert ''.join(expected.split()) in ''.join(res.stderr.split()) assert 'Missing required kconfig option after retry.' in res.stderr def test_kconfig_in_transitive_dependency(self, idf_py: IdfPyFunc, test_app_copy: Path) -> None: