1#
2# Copyright (c) 2022 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6common:
7  tags:
8    - mcumgr
9    - os_mgmt_info
10  # FIXME: Exclude architectures that lack a reboot handler function
11  arch_exclude:
12    - arm64
13    - nios2
14    - sparc
15    - arc
16    - xtensa
17    - mips
18    - posix
19tests:
20  mgmt.mcumgr.os.info: {}
21  mgmt.mcumgr.os.info.no_hooks:
22    extra_configs:
23      - CONFIG_MCUMGR_GRP_OS_INFO_CUSTOM_HOOKS=n
24      - CONFIG_MCUMGR_MGMT_NOTIFICATION_HOOKS=n
25  mgmt.mcumgr.os.info.bt:
26    depends_on: ble
27    extra_configs:
28      - CONFIG_BT=y
29      - CONFIG_BT_DEVICE_NAME="a_bt_name"
30  mgmt.mcumgr.os.info.net:
31    depends_on: netif
32    # FIXME: Exclude systems whereby the processor type is not known and emits a warning
33    platform_exclude:
34      - qemu_cortex_a9
35      - qemu_x86
36      - qemu_riscv64/qemu_virt_riscv64/smp
37      - qemu_riscv64
38      - qemu_riscv32e
39      - qemu_riscv32
40      - qemu_riscv32/qemu_virt_riscv32/smp
41      - qemu_cortex_m3
42      - mps2/an385
43    extra_configs:
44      - CONFIG_NETWORKING=y
45      - CONFIG_NET_HOSTNAME_ENABLE=y
46      - CONFIG_NET_HOSTNAME="test_net_name"
47      - CONFIG_TEST_RANDOM_GENERATOR=y
48  mgmt.mcumgr.os.info.build_date:
49    extra_configs:
50      - CONFIG_BUILD_DATE_TIME_TEST=y
51  mgmt.mcumgr.os.info.limited_size:
52    extra_configs:
53      - CONFIG_LIMITED_TEST=y
54      - CONFIG_MCUMGR_TRANSPORT_DUMMY_RX_BUF_SIZE=64
55      - CONFIG_MCUMGR_GRP_OS_INFO_MAX_RESPONSE_SIZE=32
56