diff --git a/tests/subsys/dfu/img_util/testcase.yaml b/tests/subsys/dfu/img_util/testcase.yaml index 89d44339572..e90fb0842b1 100644 --- a/tests/subsys/dfu/img_util/testcase.yaml +++ b/tests/subsys/dfu/img_util/testcase.yaml @@ -1,18 +1,15 @@ +common: + platform_allow: + - nrf52840dk_nrf52840 + - native_posix + - native_posix_64 + - native_sim + - native_sim_64 + integration_platforms: + - nrf52840dk_nrf52840 tests: dfu.image_util: - platform_allow: - - nrf52840dk_nrf52840 - - native_posix - - native_posix_64 tags: dfu_image_util - integration_platforms: - - nrf52840dk_nrf52840 dfu.image_util.progressive: extra_args: OVERLAY_CONFIG=progressively_overlay.conf - platform_allow: - - nrf52840dk_nrf52840 - - native_posix - - native_posix_64 tags: dfu_image_util - integration_platforms: - - nrf52840dk_nrf52840 diff --git a/tests/subsys/dfu/mcuboot/testcase.yaml b/tests/subsys/dfu/mcuboot/testcase.yaml index c05a05ae5df..6b630c71865 100644 --- a/tests/subsys/dfu/mcuboot/testcase.yaml +++ b/tests/subsys/dfu/mcuboot/testcase.yaml @@ -4,6 +4,8 @@ tests: - nrf52840dk_nrf52840 - native_posix - native_posix_64 + - native_sim + - native_sim_64 tags: dfu_mcuboot integration_platforms: - nrf52840dk_nrf52840 diff --git a/tests/subsys/dfu/mcuboot_multi/native_posix_64.overlay b/tests/subsys/dfu/mcuboot_multi/native_posix_64.overlay deleted file mode 100644 index 5166674f432..00000000000 --- a/tests/subsys/dfu/mcuboot_multi/native_posix_64.overlay +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2020 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/delete-node/ &scratch_partition; -/delete-node/ &storage_partition; - -&flash0 { - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - boot_partition: partition@0 { - label = "mcuboot"; - reg = <0x00000000 0x0000C000>; - }; - slot0_partition: partition@c000 { - label = "image-0"; - reg = <0x0000C000 0x00069000>; - }; - slot1_partition: partition@75000 { - label = "image-1"; - reg = <0x00075000 0x00069000>; - }; - slot2_partition: partition@DE000 { - label = "image-2"; - reg = <0x000DE000 0x00069000>; - }; - slot3_partition: partition@146000 { - label = "image-3"; - reg = <0x00146000 0x00069000>; - }; - }; -}; diff --git a/tests/subsys/dfu/mcuboot_multi/native_posix.overlay b/tests/subsys/dfu/mcuboot_multi/native_sim.overlay similarity index 100% rename from tests/subsys/dfu/mcuboot_multi/native_posix.overlay rename to tests/subsys/dfu/mcuboot_multi/native_sim.overlay diff --git a/tests/subsys/dfu/mcuboot_multi/native_sim_64.overlay b/tests/subsys/dfu/mcuboot_multi/native_sim_64.overlay new file mode 100644 index 00000000000..3e51723713a --- /dev/null +++ b/tests/subsys/dfu/mcuboot_multi/native_sim_64.overlay @@ -0,0 +1,7 @@ +/* + * Copyright (c) 2020 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include "native_sim.overlay" diff --git a/tests/subsys/dfu/mcuboot_multi/testcase.yaml b/tests/subsys/dfu/mcuboot_multi/testcase.yaml index dbebd3fddbd..742bbe38ce6 100644 --- a/tests/subsys/dfu/mcuboot_multi/testcase.yaml +++ b/tests/subsys/dfu/mcuboot_multi/testcase.yaml @@ -2,8 +2,8 @@ tests: dfu.mcuboot.multiimage: platform_allow: - nrf52840dk_nrf52840 - - native_posix - - native_posix_64 + - native_sim + - native_sim_64 tags: dfu_mcuboot integration_platforms: - nrf52840dk_nrf52840