From a912bb6f14271a921596bd72eb8a1f1f2f11402f Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 5 Jul 2024 09:37:32 +0200 Subject: [PATCH] tests/subsys/ipc/pbuf: Filter out partial native/posix arch builds Some AMP native simulator targets (like the nrf5340bsim net core) will not produce a final executable if only one of the core images is built, when IPC is enabled, as those images require the other core image to be able to link. So this test cannot be run when targetting that core alone (without using sysbuild to build the other). Let's filter out these targets to avoid twister building but finding itself with no executable and error out badly as it cannot run the test. The filter condition is effectively: If building for a native target, there must be an .exe being produced. Signed-off-by: Alberto Escolar Piedras --- tests/subsys/ipc/pbuf/testcase.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/subsys/ipc/pbuf/testcase.yaml b/tests/subsys/ipc/pbuf/testcase.yaml index ef5fac615f8d2d..00dff587170a4a 100644 --- a/tests/subsys/ipc/pbuf/testcase.yaml +++ b/tests/subsys/ipc/pbuf/testcase.yaml @@ -1,5 +1,8 @@ tests: ipc.icmsg_pbuf: + # For native(POSIX arch) targets, let's skip those which do not produce an executable + # (amp targets which need more images) + filter: not CONFIG_ARCH_POSIX or CONFIG_BUILD_OUTPUT_EXE integration_platforms: - native_sim timeout: 120