CMake: Add support for mbed_timing_fpga_ci_test_shield greentea test

pull/14093/head
Rajkumar Kanagaraj 2020-12-24 09:30:14 -08:00
parent d9f2d765f4
commit 71729238f0
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../../.. CACHE INTERNAL "")
set(TEST_TARGET mbed-hal-fpga-ci-test-shield-watchdog)
include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
project(${TEST_TARGET})
list(APPEND TEST_REQ_LIBS_LIST mbed-fpga-ci-test-shield mbed-storage-blockdevice)
mbed_greentea_cmake_macro(TEST_NAME ${TEST_TARGET} TEST_REQUIRED_LIBS ${TEST_REQ_LIBS_LIST})