kernel/scripts/kconfig/tests/err_recursive_dep/__init__.py
2024-07-22 17:22:30 +08:00

11 lines
235 B
Python

# SPDX-License-Identifier: GPL-2.0
"""
Detect recursive dependency error.
Recursive dependency should be treated as an error.
"""
def test(conf):
assert conf.oldaskconfig() == 1
assert conf.stderr_contains('expected_stderr')