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

10 lines
222 B
Python
Raw Normal View History

2023-08-30 17:53:23 +02:00
# 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')