summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Kdefconfig_existent_but_n13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/Kdefconfig_existent_but_n b/tests/Kdefconfig_existent_but_n
new file mode 100644
index 0000000..17b8980
--- /dev/null
+++ b/tests/Kdefconfig_existent_but_n
@@ -0,0 +1,13 @@
+# $FOO is "defconfig_2"
+# Should produce None due to the "depends on n"
+
+config FOO
+ option env="BAR"
+
+config A
+ string
+ depends on n
+ option defconfig_list
+ default "Kconfiglib/tests/defconfig_1" if y && !n && n
+ default "Kconfiglib/tests/$FOO"
+ default "Kconfiglib/tests/defconfig_1"