Newer
Older
barebox / scripts / kconfig / tests / err_recursive_inc / __init__.py
@Masahiro Yamada Masahiro Yamada on 19 Jun 2019 255 bytes kconfig: update to Linux 5.2-rc4
# SPDX-License-Identifier: GPL-2.0
"""
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')