userspace tests/samples: Exclude in posix arch
These samples & tests cannot be run in this architecture as it does not support userspace. Today they are filtered by kconfig, which works but spends time running cmake. As native_posix is a default test platform it is better to filter it alltogether by arch, which saves quite a lot of time. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
c6fd2b2d44
commit
befc96f22e
4 changed files with 8 additions and 0 deletions
|
@ -14,4 +14,6 @@ common:
|
||||||
tests:
|
tests:
|
||||||
sample.helloworld:
|
sample.helloworld:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
|
arch_exclude:
|
||||||
|
- posix
|
||||||
tags: introduction
|
tags: introduction
|
||||||
|
|
|
@ -13,3 +13,5 @@ common:
|
||||||
tests:
|
tests:
|
||||||
sample.userspace.prod_consumer:
|
sample.userspace.prod_consumer:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
|
arch_exclude:
|
||||||
|
- posix
|
||||||
|
|
|
@ -14,6 +14,8 @@ common:
|
||||||
tests:
|
tests:
|
||||||
sample.kernel.memory_protection.shared_mem:
|
sample.kernel.memory_protection.shared_mem:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
|
arch_exclude:
|
||||||
|
- posix
|
||||||
platform_exclude:
|
platform_exclude:
|
||||||
- twr_ke18f
|
- twr_ke18f
|
||||||
- cy8cproto_062_4343w
|
- cy8cproto_062_4343w
|
||||||
|
|
|
@ -7,6 +7,8 @@ tests:
|
||||||
- userspace
|
- userspace
|
||||||
slow: true
|
slow: true
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
|
arch_exclude:
|
||||||
|
- posix
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue