CMake: Fix platform wait_ns greentea test Cmake
Mbed CLI 2 generates TARGET_ARM_FM macro as a string in mbed_config.cmake
under the MBED_TARGET_DEFINITIONS list. Fix the "if defined" check for
TARGET_ARM_FM by searching for the TARGET_ARM_FM string in the
MBED_TARGET_DEFINITIONS list. This allows us to skip or include the test from CMake.
ls
1 parent 756830e commit ad18cc88a617e231b6ed65781437ef4db3ef9e70
@Rajkumar Kanagaraj Rajkumar Kanagaraj authored on 13 Sep 2021
Showing 1 changed file
View
platform/tests/TESTS/mbed_platform/wait_ns/CMakeLists.txt