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: 1"
15      - "mcuboot_status: 2"
16      - "Waiting..."
17      - "mcuboot_status: 0"
18      - "mcuboot_status: 1"
19      - "mcuboot_status: 8"
20      - "Starting bootloader"
21      - "Secondary image: magic"
22      - "Boot source: none"
23tests:
24  bootloader.mcuboot.recovery.retention:
25    platform_allow: nrf52840dk_nrf52840
26    tags:
27      - mcuboot
28      - sysbuild
29      - recovery
30  bootloader.mcuboot.recovery.retention.mem:
31    platform_allow: nrf52840dk_nrf52840
32    extra_args:
33      - OVERLAY_CONFIG="boards/nrf52840dk_nrf52840_mem.conf"
34      - DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay"
35      - mcuboot_TARGET_OVERLAY_CONFIG="boards/nrf52840dk_nrf52840_mem.conf"
36      - mcuboot_TARGET_DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay"
37    tags:
38      - mcuboot
39      - sysbuild
40      - recovery
41