summaryrefslogtreecommitdiff
path: root/tests/Kstrict
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-10-26 22:23:27 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-10-26 23:34:18 +0200
commit699fd81bf3a67606396035697357c5665dcd68af (patch)
tree4ce312054fc229ad6809e7266218085729cb02c5 /tests/Kstrict
parent94ef638d61476bda162c16462238687733a77d78 (diff)
Support enabling the assignment-to-undef. symbol warning via the environment
This makes it possible to enable it for the bundled tools, by setting KCONFIG_WARN_UNDEF_ASSIGN=y. Previously, the code had to be modified to call Kconfig.enable_undef_warnings(). Also rename KCONFIG_STRICT to KCONFIG_WARN_UNDEF, for consistency. Keep supporting KCONFIG_STRICT as an alias for backwards compatibility.
Diffstat (limited to 'tests/Kstrict')
-rw-r--r--tests/Kstrict23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/Kstrict b/tests/Kstrict
deleted file mode 100644
index fae521a..0000000
--- a/tests/Kstrict
+++ /dev/null
@@ -1,23 +0,0 @@
-config DEF
- bool
-
-config BOOL
- bool "foo" if DEF || !UNDEF_1
- default UNDEF_2
-
-config INT
- int
- range UNDEF_2 8
- default 10
- range 5 15
-
-config HEX
- hex
- range 0x123 0X456
- default 0x200
-
-menu "menu"
- depends on UNDEF_1
- visible if UNDEF_3
-
-endmenu