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