tests: cmake: Add zephyr_get
As `zephyr_get()` grows in complexity and significance, it must continue working as expected. Unfortunately, it has a few minor bugs already, but they will be taken care of in the next few commits. Before that, though, let's go ahead and add a test suite for this function. For now, some tests will pass by using incorrect values, annotated with the `# BUG` comments; they will be removed in later patches. The purpose of having them now is to make it easier to see what's about to be fixed. Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
This commit is contained in:
parent
d59944465a
commit
5ef7229a8c
4 changed files with 634 additions and 0 deletions
11
tests/cmake/zephyr_get/testcase.yaml
Normal file
11
tests/cmake/zephyr_get/testcase.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
common:
|
||||
tags: cmake
|
||||
build_only: true
|
||||
platform_allow: native_posix
|
||||
tests:
|
||||
zephyr_get.no_sysbuild:
|
||||
sysbuild: false
|
||||
zephyr_get.sysbuild:
|
||||
sysbuild: true
|
||||
extra_args: TESTCASE_VARIABLE="sysbuild.main"
|
||||
zephyr_get_2nd_TESTCASE_VARIABLE="sysbuild.2nd"
|
Loading…
Add table
Add a link
Reference in a new issue