xref: /openbmc/u-boot/scripts/kconfig/tests/err_recursive_inc/__init__.py (revision 872cfa20cd694fdbfa76abddd3cd00b05ad5355b)
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