xref: /linux/scripts/kconfig/tests/err_recursive_inc/__init__.py (revision c4bbe83d27c2446a033cc0381c3fb6be5e8c41c7)
1# SPDX-License-Identifier: GPL-2.0
2"""
3Detect recursive inclusion error.
4
5If recursive inclusion is detected, it should fail with error messages.
6"""
7
8
9def test(conf):
10    assert conf.oldaskconfig() != 0
11    assert conf.stderr_contains('expected_stderr')
12