1common: 2 tags: snippets 3 platform_allow: 4 - native_sim 5 - qemu_x86 6 - qemu_x86_64 7 - qemu_cortex_m3 8 integration_platforms: 9 - native_sim 10 sysbuild: false 11 12tests: 13 # Test the initial state with no snippets applied 14 buildsystem.snippets.none: 15 extra_configs: 16 - CONFIG_TEST_TYPE_NONE=y 17 # Test the `foo` snippet from the default application snippet root 18 buildsystem.snippets.foo: 19 extra_args: SNIPPET="foo" 20 extra_configs: 21 - CONFIG_TEST_TYPE_FOO=y 22 # Test the `bar` snippet from an extra snippet root 23 buildsystem.snippets.bar: 24 extra_args: SNIPPET="bar" 25 extra_configs: 26 - CONFIG_TEST_TYPE_BAR=y 27 # Test the snippet processing order (1. foo, 2. bar) 28 buildsystem.snippets.foo_bar: 29 extra_args: SNIPPET="foo;bar" 30 extra_configs: 31 - CONFIG_TEST_TYPE_FOO_BAR=y 32 # Test the snippet processing order (1. bar, 2. foo) 33 buildsystem.snippets.bar_foo: 34 extra_args: SNIPPET="bar;foo" 35 extra_configs: 36 - CONFIG_TEST_TYPE_BAR_FOO=y 37