tests: bluetooth: controller: Add ISO AL unit test

Ztest based unit test of ISO adaptation layer.
Testing of unframed case, single SDU, recombined from
one and two PDUs.

Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
This commit is contained in:
Nirosharn Amarasinghe 2022-02-21 15:08:20 +01:00 committed by Carles Cufí
parent 8b09d524a5
commit 0f8d9b430b
4 changed files with 1566 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(bluetooth_ctrl_isoal)
zephyr_library_include_directories(
${ZEPHYR_BASE}/subsys/bluetooth
${ZEPHYR_BASE}/subsys/bluetooth/controller
${ZEPHYR_BASE}/subsys/bluetooth/controller/include
${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic/lll
)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})

View file

@ -0,0 +1,8 @@
CONFIG_NET_BUF=y
CONFIG_ZTEST=y
CONFIG_ZTEST_ASSERT_VERBOSE=3
CONFIG_ZTEST_STACKSIZE=4096
CONFIG_ZTEST_MOCKING=y
CONFIG_ZTEST_PARAMETER_COUNT=32
CONFIG_ZTEST_ASSERT_HOOK=y

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
common:
tags: bluetooth
tests:
bluetooth.isoal.test:
platform_allow: native_posix