1#
2# Copyright (c) 2023 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6common:
7  sysbuild: true
8  timeout: 10
9  harness: console
10  harness_config:
11    type: multi_line
12    regex:
13      - "mcuboot_status: 0"
14      - "mcuboot_status: 2"
15      - "Waiting..."
16      - "mcuboot_status: 0"
17      - "mcuboot_status: 8"
18      - "Starting bootloader"
19      - "Secondary image: magic"
20      - "Boot source: none"
21tests:
22  bootloader.mcuboot.recovery.retention:
23    platform_allow: nrf52840dk/nrf52840
24    tags:
25      - mcuboot
26      - sysbuild
27      - recovery
28  bootloader.mcuboot.recovery.retention.mem:
29    platform_allow: nrf52840dk/nrf52840
30    extra_args:
31      - EXTRA_CONF_FILE="boards/nrf52840dk_nrf52840_mem.conf"
32      - DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay"
33      - mcuboot_TARGET_OVERLAY_CONFIG="boards/nrf52840dk_nrf52840_mem.conf"
34      - mcuboot_TARGET_DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay"
35    tags:
36      - mcuboot
37      - sysbuild
38      - recovery
39