From 95de62d808f4447da2456201d226969e5815b459 Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Fri, 19 Sep 2025 11:17:39 +0200 Subject: kconfiglib: add origin test This patch adds a test for the origin feature added in the series. Signed-off-by: Luca Burelli --- tests/Korigins | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/Korigins (limited to 'tests') diff --git a/tests/Korigins b/tests/Korigins new file mode 100644 index 0000000..3649133 --- /dev/null +++ b/tests/Korigins @@ -0,0 +1,26 @@ +config MAIN_FLAG + bool + +config MAIN_FLAG_DEPENDENCY + bool "Main Feature Dependency" + default y + depends on MAIN_FLAG + +config MAIN_FLAG_SELECT + bool "Main Feature Dependent" + select MAIN_FLAG + +choice MULTIPLE_CHOICES + prompt "Multiple Choice Option" + +config FIRST_CHOICE + bool "First Choice Option" + depends on !MAIN_FLAG + +config SECOND_CHOICE + bool "Second Choice Option" + +endchoice + +config UNSET_FLAG + bool "Disabled Feature" -- cgit v1.2.3