tests: ztest base: fix board name
Use full board name in cmake file. Akin to the fix done in #80270 https://github.com/zephyrproject-rtos/zephyr/pull/80270/ following the changes from https://github.com/zephyrproject-rtos/zephyr/pull/77250/ In which twister now uses the full board name when calling cmake. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
39917ae5e6
commit
b9ec4e5396
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
if(BOARD STREQUAL unit_testing)
|
||||
if(BOARD STREQUAL unit_testing/unit_testing)
|
||||
find_package(Zephyr COMPONENTS unittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(base)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue