Add test for the CAN shell module. The tests execute a set of CAN shell module commands against a CAN controller driver mock, verifies that the expected CAN controller driver API functions are called, and that their arguments are as expected. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
9 lines
226 B
CMake
9 lines
226 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(can_shell)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|