From 8f2d91329f772f9549886c11fe5b15ee0f798ab8 Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Tue, 2 Apr 2024 09:56:26 +0300 Subject: [PATCH] tests: net: download_client: Use Qemu instead of HW Use qemu_cortex_m3 instead of hardware to run unittests. This uses same compiler than nRF91. Signed-off-by: Seppo Takalo --- .../net/lib/download_client/boards/qemu_cortex_m3.conf | 5 +++++ tests/subsys/net/lib/download_client/testcase.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tests/subsys/net/lib/download_client/boards/qemu_cortex_m3.conf diff --git a/tests/subsys/net/lib/download_client/boards/qemu_cortex_m3.conf b/tests/subsys/net/lib/download_client/boards/qemu_cortex_m3.conf new file mode 100644 index 000000000000..5901b68d74da --- /dev/null +++ b/tests/subsys/net/lib/download_client/boards/qemu_cortex_m3.conf @@ -0,0 +1,5 @@ +CONFIG_NET_TCP=y +CONFIG_NET_TCP_ISN_RFC6528=n +CONFIG_NET_UDP=y +CONFIG_TEST_RANDOM_GENERATOR=y +CONFIG_NET_SLIP_TAP=n diff --git a/tests/subsys/net/lib/download_client/testcase.yaml b/tests/subsys/net/lib/download_client/testcase.yaml index a52d01312443..ec9b456352c3 100644 --- a/tests/subsys/net/lib/download_client/testcase.yaml +++ b/tests/subsys/net/lib/download_client/testcase.yaml @@ -1,6 +1,6 @@ tests: net.lib.download_client: tags: fota - platform_allow: native_sim nrf9160dk_nrf9160 nrf9160dk_nrf9160_ns + platform_allow: native_sim qemu_cortex_m3 integration_platforms: - native_sim