From 3e71692b2747ecf00210ffd7ec082f723841e166 Mon Sep 17 00:00:00 2001 From: Hari Limaye Date: Tue, 29 Jun 2021 12:43:18 +0100 Subject: [PATCH] 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. --- .../mbed_hal_fpga_ci_test_shield/CMakeLists.txt | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/CMakeLists.txt diff --git a/hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/CMakeLists.txt b/hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/CMakeLists.txt deleted file mode 100644 index ec4d8d5385..0000000000 --- a/hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/CMakeLists.txt +++ /dev/null @@ -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})