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