tests: use integration_platforms where applicable
Use integration_platforms where coverage is provided using one or few
targets instead.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/boards/x86/qemu_x86/qemu_x86.yaml b/boards/x86/qemu_x86/qemu_x86.yaml
index 5fdc13a..a709683 100644
--- a/boards/x86/qemu_x86/qemu_x86.yaml
+++ b/boards/x86/qemu_x86/qemu_x86.yaml
@@ -3,6 +3,7 @@
type: qemu
simulation: qemu
arch: x86
+ram: 3000
toolchain:
- zephyr
- xtools
diff --git a/tests/drivers/fuel_gauge/sbs_gauge/testcase.yaml b/tests/drivers/fuel_gauge/sbs_gauge/testcase.yaml
index a7bfda2..e03a2c7 100644
--- a/tests/drivers/fuel_gauge/sbs_gauge/testcase.yaml
+++ b/tests/drivers/fuel_gauge/sbs_gauge/testcase.yaml
@@ -17,6 +17,8 @@
- qemu_kvm_arm64
- xenvm
- xenvm_gicv3
+ integration_platforms:
+ - qemu_x86
drivers.sbs_gauge_new_api.emulated_64_bit_i2c_addr:
tags:
- drivers
@@ -31,6 +33,8 @@
- qemu_kvm_arm64
- xenvm
- xenvm_gicv3
+ integration_platforms:
+ - qemu_cortex_a53
extra_args:
- CONF_FILE="prj.conf;boards/qemu_cortex_a53.conf"
- DTC_OVERLAY_FILE="boards/qemu_cortex_a53.overlay"
diff --git a/tests/lib/mem_blocks/testcase.yaml b/tests/lib/mem_blocks/testcase.yaml
index db96c4c..f214d46 100644
--- a/tests/lib/mem_blocks/testcase.yaml
+++ b/tests/lib/mem_blocks/testcase.yaml
@@ -3,3 +3,5 @@
tags:
- heap
- mem_blocks
+ integration_platforms:
+ - native_posix
diff --git a/tests/lib/mem_blocks_stats/testcase.yaml b/tests/lib/mem_blocks_stats/testcase.yaml
index 477e6c5..4814ddf 100644
--- a/tests/lib/mem_blocks_stats/testcase.yaml
+++ b/tests/lib/mem_blocks_stats/testcase.yaml
@@ -3,3 +3,5 @@
tags:
- heap
- mem_blocks.stats
+ integration_platforms:
+ - native_posix
diff --git a/tests/posix/common/testcase.yaml b/tests/posix/common/testcase.yaml
index a60660b..7571587 100644
--- a/tests/posix/common/testcase.yaml
+++ b/tests/posix/common/testcase.yaml
@@ -6,7 +6,6 @@
tags: posix
min_ram: 64
timeout: 240
-
tests:
portability.posix.common:
platform_exclude:
@@ -14,6 +13,8 @@
- ehl_crb
extra_configs:
- CONFIG_NEWLIB_LIBC=n
+ integration_platforms:
+ - qemu_x86
portability.posix.common.newlib:
platform_exclude:
- nsim_sem_mpu_stack_guard
@@ -22,6 +23,8 @@
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NEWLIB_LIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.common.armclang_std_libc:
toolchain_allow: armclang
extra_configs:
@@ -39,6 +42,8 @@
- CONFIG_NEWLIB_LIBC=n
- CONFIG_THREAD_LOCAL_STORAGE=y
- CONFIG_MAIN_STACK_SIZE=1152
+ integration_platforms:
+ - qemu_x86
portability.posix.common.tls.newlib:
platform_exclude:
- nsim_sem_mpu_stack_guard
@@ -46,6 +51,8 @@
- lpcxpresso55s06
filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and
CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
+ integration_platforms:
+ - qemu_x86
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_THREAD_LOCAL_STORAGE=y
@@ -64,5 +71,7 @@
portability.posix.common.picolibc:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
+ integration_platforms:
+ - qemu_x86
extra_configs:
- CONFIG_PICOLIBC=y
diff --git a/tests/posix/eventfd/testcase.yaml b/tests/posix/eventfd/testcase.yaml
index 15f9cdd..4d1a2a2 100644
--- a/tests/posix/eventfd/testcase.yaml
+++ b/tests/posix/eventfd/testcase.yaml
@@ -3,6 +3,8 @@
tags:
- posix
- eventfd
+ integration_platforms:
+ - qemu_x86
tests:
portability.posix.eventfd:
min_ram: 32
diff --git a/tests/posix/eventfd_basic/testcase.yaml b/tests/posix/eventfd_basic/testcase.yaml
index 8e2ed3c..8f7e794 100644
--- a/tests/posix/eventfd_basic/testcase.yaml
+++ b/tests/posix/eventfd_basic/testcase.yaml
@@ -4,6 +4,8 @@
- posix
- eventfd
min_ram: 32
+ integration_platforms:
+ - qemu_x86
tests:
portability.posix.eventfd_basic:
extra_configs:
diff --git a/tests/posix/fs/testcase.yaml b/tests/posix/fs/testcase.yaml
index f3ed41d..54c6c09 100644
--- a/tests/posix/fs/testcase.yaml
+++ b/tests/posix/fs/testcase.yaml
@@ -12,28 +12,40 @@
portability.posix.fs:
extra_configs:
- CONFIG_NEWLIB_LIBC=n
+ integration_platforms:
+ - qemu_x86
portability.posix.fs.newlib:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NEWLIB_LIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.fs.tls:
filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
extra_configs:
- CONFIG_NEWLIB_LIBC=n
- CONFIG_THREAD_LOCAL_STORAGE=y
+ integration_platforms:
+ - qemu_x86
portability.posix.fs.tls.newlib:
filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and
CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_THREAD_LOCAL_STORAGE=y
+ integration_platforms:
+ - qemu_x86
portability.posix.fs.picolibc:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
extra_configs:
- CONFIG_PICOLIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.fs.tls.picolibc:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
extra_configs:
- CONFIG_PICOLIBC=y
+ integration_platforms:
+ - qemu_x86
diff --git a/tests/posix/getopt/testcase.yaml b/tests/posix/getopt/testcase.yaml
index 89e292d..ed4be65 100644
--- a/tests/posix/getopt/testcase.yaml
+++ b/tests/posix/getopt/testcase.yaml
@@ -3,10 +3,10 @@
tags:
- posix
- getopt
+ integration_platforms:
+ - qemu_x86
tests:
portability.posix.getopt:
- integration_platforms:
- - qemu_x86
min_flash: 64
min_ram: 32
portability.posix.getopt.newlib:
@@ -19,8 +19,6 @@
extra_configs:
- CONFIG_PICOLIBC=y
portability.posix.getopt.logger:
- integration_platforms:
- - qemu_x86
extra_configs:
- CONFIG_LOG=y
build_only: true
diff --git a/tests/posix/headers/testcase.yaml b/tests/posix/headers/testcase.yaml
index 71b76df..f5be7c1 100644
--- a/tests/posix/headers/testcase.yaml
+++ b/tests/posix/headers/testcase.yaml
@@ -5,37 +5,48 @@
- net
- socket
min_ram: 32
-
tests:
portability.posix.headers.with_posix_api:
extra_configs:
- CONFIG_POSIX_API=y
+ integration_platforms:
+ - qemu_x86
portability.posix.headers.without_posix_api:
extra_configs:
- CONFIG_POSIX_API=n
+ integration_platforms:
+ - qemu_x86
portability.posix.headers.picolibc.with_posix_api:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
extra_configs:
- CONFIG_POSIX_API=y
- CONFIG_PICOLIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.headers.picolibc.without_posix_api:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
extra_configs:
- CONFIG_POSIX_API=n
- CONFIG_PICOLIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.headers.newlib.with_posix_api:
tags: newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_POSIX_API=y
- CONFIG_NEWLIB_LIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.headers.newlib.without_posix_api:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_POSIX_API=n
- CONFIG_NEWLIB_LIBC=y
+ integration_platforms:
+ - qemu_x86
portability.posix.headers.arcmwdtlib.with_posix_api:
toolchain_allow: arcmwdt
extra_configs:
diff --git a/tests/subsys/fs/fs_api/testcase.yaml b/tests/subsys/fs/fs_api/testcase.yaml
index 7c9aa1b..7f8e1a0 100644
--- a/tests/subsys/fs/fs_api/testcase.yaml
+++ b/tests/subsys/fs/fs_api/testcase.yaml
@@ -1,3 +1,5 @@
tests:
filesystem.api:
tags: filesystem
+ integration_platforms:
+ - native_posix
diff --git a/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/testcase.yaml b/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/testcase.yaml
index f1bf3183..a958f48 100644
--- a/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/testcase.yaml
+++ b/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/testcase.yaml
@@ -8,6 +8,8 @@
- mgmt
- mcumgr
- fs_mgmt_hash_supported
+ integration_platforms:
+ - native_posix
tests:
mgmt.mcumgr.fs.mgmt.hash.supported.crc32:
extra_args: >
diff --git a/tests/subsys/portability/cmsis_rtos_v2/testcase.yaml b/tests/subsys/portability/cmsis_rtos_v2/testcase.yaml
index 2c812a1..0b198c7 100644
--- a/tests/subsys/portability/cmsis_rtos_v2/testcase.yaml
+++ b/tests/subsys/portability/cmsis_rtos_v2/testcase.yaml
@@ -4,3 +4,5 @@
tags: cmsis_rtos
min_ram: 32
min_flash: 34
+ integration_platforms:
+ - native_posix
diff --git a/tests/subsys/zbus/integration/testcase.yaml b/tests/subsys/zbus/integration/testcase.yaml
index 972c7ab..2f36fa0 100644
--- a/tests/subsys/zbus/integration/testcase.yaml
+++ b/tests/subsys/zbus/integration/testcase.yaml
@@ -5,3 +5,5 @@
- hifive_unleashed
- fvp_base_revc_2xaemv8a_smp_ns
tags: zbus
+ integration_platforms:
+ - native_posix