CONFIGURATION!
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
source "Kconfig.inc1"
|
||||
@@ -0,0 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
source "Kconfig.inc2"
|
||||
source "Kconfig.inc3"
|
||||
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
source "Kconfig.inc3"
|
||||
@@ -0,0 +1 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
@@ -0,0 +1,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')
|
||||
@@ -0,0 +1,2 @@
|
||||
Kconfig.inc1:4: error: repeated inclusion of Kconfig.inc3
|
||||
Kconfig.inc2:3: note: location of first inclusion of Kconfig.inc3
|
||||
Reference in New Issue
Block a user