summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/err_recursive_inc/__init__.py
blob: 0e4c839c54aa1161a8c6d417a4d9392c96ec9d6e (plain)
1
2
3
4
5
6
7
8
9
10
"""
Detect recursive inclusion error.

If recursive inclusion is detected, it should fail with error messages.
"""


def test(conf):
    assert conf.oldaskconfig() != 0
    assert conf.stderr_contains('expected_stderr')