Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / scripts / kconfig / tests / err_recursive_dep / __init__.py
1 # SPDX-License-Identifier: GPL-2.0
2 """
3 Detect recursive dependency error.
4
5 Recursive dependency should be treated as an error.
6 """
7
8 def test(conf):
9     assert conf.oldaskconfig() == 1
10     assert conf.stderr_contains('expected_stderr')