This commit separates each test by layer level. Obviously the tests will run the whole stack, but they should be separated by which component/layer they intend on testing. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
26 lines
674 B
CMake
26 lines
674 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
|
|
message(FATAL_ERROR "This test requires the BabbleSim simulator. Please set\
|
|
the environment variable BSIM_COMPONENTS_PATH to point to its components \
|
|
folder. More information can be found in\
|
|
https://babblesim.github.io/folder_structure_and_env.html")
|
|
endif()
|
|
|
|
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
|
|
project(bsim_test_adv_resume)
|
|
|
|
target_sources(app PRIVATE
|
|
src/bs_bt_utils.c
|
|
src/dut.c
|
|
src/main.c
|
|
src/tester.c
|
|
)
|
|
|
|
zephyr_include_directories(
|
|
$ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
|
|
$ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
|
|
)
|