From 548739cf8c2708e8917962c5074a80d91241112d Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Thu, 23 Nov 2023 13:34:31 +0100 Subject: [PATCH] tests/cmake/*: Switch to native_sim Switch from native_posix to native_sim as test platform Signed-off-by: Alberto Escolar Piedras --- tests/cmake/config_dir/testcase.yaml | 2 +- tests/cmake/overlays/var_expansions/testcase.yaml | 2 +- tests/cmake/snippets/testcase.yaml | 3 ++- tests/cmake/zephyr_get/testcase.yaml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/cmake/config_dir/testcase.yaml b/tests/cmake/config_dir/testcase.yaml index 16105025664..d88fe6f76e8 100644 --- a/tests/cmake/config_dir/testcase.yaml +++ b/tests/cmake/config_dir/testcase.yaml @@ -1,5 +1,5 @@ tests: buildsystem.config_dir.user_defined: - platform_allow: native_posix + platform_allow: native_sim build_only: true extra_args: APPLICATION_CONFIG_DIR:PATH=foo diff --git a/tests/cmake/overlays/var_expansions/testcase.yaml b/tests/cmake/overlays/var_expansions/testcase.yaml index 1149a7f7c28..919e75f7739 100644 --- a/tests/cmake/overlays/var_expansions/testcase.yaml +++ b/tests/cmake/overlays/var_expansions/testcase.yaml @@ -1,7 +1,7 @@ common: tags: cmake build_only: true - platform_allow: native_posix + platform_allow: native_sim tests: buildsystem.overlays.var_expansions.CONF_FILE: extra_conf_files: diff --git a/tests/cmake/snippets/testcase.yaml b/tests/cmake/snippets/testcase.yaml index c8dad26a94f..f584ca3a0fc 100644 --- a/tests/cmake/snippets/testcase.yaml +++ b/tests/cmake/snippets/testcase.yaml @@ -2,11 +2,12 @@ common: tags: snippets platform_allow: - native_posix + - native_sim - qemu_x86 - qemu_x86_64 - qemu_cortex_m3 integration_platforms: - - native_posix + - native_sim tests: # Test the initial state with no snippets applied diff --git a/tests/cmake/zephyr_get/testcase.yaml b/tests/cmake/zephyr_get/testcase.yaml index 5159efb093c..02b8a7fc17f 100644 --- a/tests/cmake/zephyr_get/testcase.yaml +++ b/tests/cmake/zephyr_get/testcase.yaml @@ -1,7 +1,7 @@ common: tags: cmake build_only: true - platform_allow: native_posix + platform_allow: native_sim tests: buildsystem.extensions.zephyr_get.no_sysbuild: sysbuild: false