tests newlib: Exclude in posix architecture

These tests cannot be run in this architecture as it does not
support this toolchain.
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:
Alberto Escolar Piedras 2023-10-23 11:58:09 +02:00 committed by Carles Cufí
commit 4060f1d390
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@ tests:
- clib
- newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
arch_exclude: posix
integration_platforms:
- mps2_an385
- qemu_x86

View file

@ -1,5 +1,6 @@
common:
filter: TOOLCHAIN_HAS_NEWLIB == 1
arch_exclude: posix
tags:
- clib
- newlib