summaryrefslogtreecommitdiff
path: root/scripts/kconfig/tests/err_repeated_inc/__init__.py
blob: 129d740a874b30e73acde797bd00e9f160c7a7ef (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: GPL-2.0
"""
Detect repeated inclusion error.

If repeated inclusion is detected, it should fail with error message.
"""

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