xref: /linux/scripts/kconfig/tests/preprocess/builtin_func/__init__.py (revision eafedbc7c050c44744fbdf80bdf3315e860b7513)
1# SPDX-License-Identifier: GPL-2.0
2"""
3Built-in function tests.
4"""
5
6def test(conf):
7    assert conf.oldaskconfig() == 0
8    assert conf.stdout_contains('expected_stdout')
9    assert conf.stderr_matches('expected_stderr')
10