Merge branch 'fix/kconfig_test_format' into 'master'

fix: KConfig test output format

See merge request espressif/esp-idf!52329
This commit is contained in:
Roland Dobai
2026-09-03 12:52:44 +02:00

View File

@@ -161,11 +161,8 @@ class TestOptionalDependencyWithKconfig:
res = idf_py('reconfigure', check=False)
assert res.returncode != 0
missing_kconfig_msg = (
f'OF_COURSE_NO_ONE_USE_FOO, introduced by example/cmp, '
f'defined in {str(test_app_copy / "main" / "idf_component.yml")}'
)
assert ''.join(missing_kconfig_msg.split()) in ''.join(res.stderr.split())
expected = 'OF_COURSE_NO_ONE_USE_FOO, introduced by example/cmp, defined in'
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: