xref: /linux/scripts/kconfig/tests/err_recursive_dep/__init__.py (revision 1bc276775d93faf42a3bb1c684cdb838ded8be56)
1# SPDX-License-Identifier: GPL-2.0
2"""
3Detect recursive dependency error.
4
5Recursive dependency should be treated as an error.
6"""
7
8def test(conf):
9    assert conf.oldaskconfig() == 1
10    assert conf.stderr_contains('expected_stderr')
11