mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/kconfig_test_format_v6.1' into 'release/v6.1'
fix: KConfig test output format (v6.1) See merge request espressif/esp-idf!52366
This commit is contained in:
@@ -152,10 +152,11 @@ class TestOptionalDependencyWithKconfig:
|
|||||||
res = idf_py('reconfigure', check=False)
|
res = idf_py('reconfigure', check=False)
|
||||||
|
|
||||||
assert res.returncode != 0
|
assert res.returncode != 0
|
||||||
assert (
|
expected = (
|
||||||
f'OF_COURSE_NO_ONE_USE_FOO, introduced by example/cmp, '
|
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
|
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:
|
def test_kconfig_in_transitive_dependency(self, idf_py: IdfPyFunc, test_app_copy: Path) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user