xref: /linux/scripts/kconfig/tests/err_recursive_inc/__init__.py (revision bfd5bb6f90af092aa345b15cd78143956a13c2a8)
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