Adds a new test that ensures sysbuild snippets work and are applied correctly Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
20 lines
545 B
YAML
20 lines
545 B
YAML
common:
|
|
sysbuild: true
|
|
tags: sysbuild_snippets sysbuild
|
|
platform_allow:
|
|
- native_sim
|
|
integration_platforms:
|
|
- native_sim
|
|
|
|
tests:
|
|
# Test the initial state with no snippets applied
|
|
buildsystem.sysbuild.snippets.none:
|
|
extra_args:
|
|
- SB_CONFIG_EXPECTED_SB_TEST_FOO_VAL=0
|
|
- SB_CONFIG_EXPECTED_APP_TEST_FOO_VAL=12
|
|
# Test the `foo` snippet in sysbuild
|
|
buildsystem.sysbuild.snippets.applied:
|
|
extra_args:
|
|
- SNIPPET=foo
|
|
- SB_CONFIG_EXPECTED_SB_TEST_FOO_VAL=464372
|
|
- SB_CONFIG_EXPECTED_APP_TEST_FOO_VAL=18382
|