tests/ztest/error_hook: Exclude posix arch for userspace test

This test cannot be run in this architecture as it does not
support userspace.
Today it is 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 13:16:41 +02:00 committed by Carles Cufí
parent 4e55c482ba
commit af984c57e5

View file

@ -4,6 +4,8 @@ common:
tests:
testing.ztest.error_hook:
filter: CONFIG_ARCH_HAS_USERSPACE
arch_exclude:
- posix
tags:
- userspace
ignore_faults: true