linux-sg2042/scripts/kconfig/tests/err_recursive_inc/__init__.py

11 lines
220 B
Python

"""
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')