mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Remove unnecessary CMakeLists.txt
CMakeLists.txt file in /hal/tests/TESTS/mbed_hal_fpga_ci_test_shield directory was non-functional as it used the greentea_add_test macro, which expects a main.cpp in current directory, but no main.cpp exists there. I checked with @rajkan01 who confirmed that this CMake file is serving no purpose and is there erroneously. All tests in subdirectories of this directory have their own CMakeLists.txt that successfully build them.pull/14828/head
parent
8b020f6ead
commit
3e71692b27
|
@ -1,13 +0,0 @@
|
|||
# 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)
|
||||
|
||||
include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
|
||||
|
||||
project(${TEST_TARGET})
|
||||
|
||||
mbed_greentea_add_test(TEST_NAME ${TEST_TARGET})
|
Loading…
Reference in New Issue