summaryrefslogtreecommitdiff
path: root/scripts/kconfig/tests/err_recursive_inc/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/err_recursive_inc/__init__.py')
-rw-r--r--scripts/kconfig/tests/err_recursive_inc/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/err_recursive_inc/__init__.py b/scripts/kconfig/tests/err_recursive_inc/__init__.py
new file mode 100644
index 000000000000..0e4c839c54aa
--- /dev/null
+++ b/scripts/kconfig/tests/err_recursive_inc/__init__.py
@@ -0,0 +1,10 @@
+"""
+Detect recursive inclusion error.
+
+If recursive inclusion is detected, it should fail with error messages.
+"""
+
+
+def test(conf):
+ assert conf.oldaskconfig() != 0
+ assert conf.stderr_contains('expected_stderr')