summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/err_recursive_dep/__init__.py
blob: 5f3821b43ce6d7c210a121ac7547877e81954785 (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: GPL-2.0
"""
Detect recursive dependency error.

Recursive dependency should be treated as an error.
"""

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