linux-zen-server/scripts/kconfig/tests/preprocess/builtin_func/__init__.py

10 lines
222 B
Python

# SPDX-License-Identifier: GPL-2.0
"""
Built-in function tests.
"""
def test(conf):
assert conf.oldaskconfig() == 0
assert conf.stdout_contains('expected_stdout')
assert conf.stderr_matches('expected_stderr')