Skip to content

Commit 7c1b95f

Browse files
dssengnashif
authored andcommitted
tests: subsys: ipc: ipc_sessions: run on nrf5340bsim
Improve CI coverage. Signed-off-by: Dmitrii Sharshakov <[email protected]>
1 parent 8f4f1fa commit 7c1b95f

File tree

6 files changed

+24
-1
lines changed

6 files changed

+24
-1
lines changed

tests/subsys/ipc/ipc_sessions/Kconfig.sysbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ source "$(ZEPHYR_BASE)/share/sysbuild/Kconfig"
99
config REMOTE_BOARD
1010
string "The board used for remote target"
1111
default "nrf5340dk/nrf5340/cpunet" if BOARD_NRF5340DK_NRF5340_CPUAPP
12+
default "nrf5340bsim/nrf5340/cpunet" if BOARD_NRF5340BSIM_NRF5340_CPUAPP
1213
default "nrf5340dk/nrf5340/cpunet" if BOARD_NRF5340DK_NRF5340_CPUAPP_NS
1314
default "nrf54h20dk/nrf54h20/cpurad" if BOARD_NRF54H20DK_NRF54H20_CPUAPP
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# Copyright (c) 2025 Dmitrii Sharshakov <[email protected]>
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
CONFIG_IPC_TEST_SKIP_CORE_RESET=y
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*/
4+
5+
#include "nrf5340dk_nrf5340_cpuapp.overlay"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*/
4+
5+
#include "nrf5340dk_nrf5340_cpunet.overlay"

tests/subsys/ipc/ipc_sessions/sysbuild.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "")
2424
sysbuild_add_dependencies(CONFIGURE ${DEFAULT_IMAGE} remote)
2525
# Add dependency so that the remote image is flashed first.
2626
sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote)
27+
28+
native_simulator_set_child_images(${DEFAULT_IMAGE} remote)
29+
native_simulator_set_final_executable(${DEFAULT_IMAGE})

tests/subsys/ipc/ipc_sessions/testcase.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ common:
88
harness: ztest
99

1010
tests:
11-
test.ipc.ipc_sessions.nrf5340dk:
11+
ipc.ipc_sessions:
1212
platform_allow:
1313
- nrf5340dk/nrf5340/cpuapp
14+
- nrf5340bsim/nrf5340/cpuapp
1415
integration_platforms:
1516
- nrf5340dk/nrf5340/cpuapp
17+
- nrf5340bsim/nrf5340/cpuapp
1618
extra_args:
1719
- CONFIG_IPC_TEST_SKIP_CORE_RESET=y
1820
test.ipc.ipc_sessions.nrf54h20dk_cpuapp_cpurad:

0 commit comments

Comments
 (0)