linux-zen-server/scripts/kconfig/tests/err_recursive_dep/__init__.py

11 lines
235 B
Python
Raw Normal View History

2023-08-30 17:53:23 +02:00
# 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')