mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
fix: KConfig test output format
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user