1# Copyright 2023 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4mainmenu "Snippet tests" 5 6menu "Zephyr" 7source "Kconfig.zephyr" 8endmenu 9 10# Snippet test types used by the test implementation to steer the test logic 11choice 12 prompt "Snippet Test Type" 13 default TEST_TYPE_NONE 14 15config TEST_TYPE_NONE 16 bool "Test Type: None" 17 help 18 Test the initial state with no snippets applied. 19 20config TEST_TYPE_FOO 21 bool "Test Type: Foo" 22 help 23 Test the `foo` snippet from the default application snippet root. 24 25config TEST_TYPE_BAR 26 bool "Test Type: Bar" 27 help 28 Test the `bar` snippet from an extra snippet root. 29 30config TEST_TYPE_FOO_BAR 31 bool "Test Type: Foo-Bar" 32 help 33 Test the snippet processing order (1. foo, 2. bar) 34 35config TEST_TYPE_BAR_FOO 36 bool "Test Type: Bar-Foo" 37 help 38 Test the snippet processing order (1. bar, 2. foo) 39 40endchoice 41 42# Test values set by the snippet config overlays and tested by the test logic 43config TEST_FOO_VAL 44 int "Test value set by the 'foo' snippet config overlay" 45 help 46 This option's value should be overridden by the 'foo' snippet config 47 overlay. 48 49config TEST_BAR_VAL 50 int "Test value set by the 'foo' snippet config overlay" 51 help 52 This option's value should be overridden by the 'foo' snippet config 53 overlay. 54 55config TEST_COMMON_VAL 56 int "Test value set by the snippet config overlays" 57 help 58 This option's value should be overridden by the snippet config 59 overlays. 60