Skip to content

Commit e17ead1

Browse files
committed
CMake: greentea: Use more specific name for baremetal option
Make it obvious the option is used for greentea tests.
1 parent af311b7 commit e17ead1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/cmake/mbed_greentea.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2020-2021 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
option(MBED_TEST_BAREMETAL OFF)
4+
option(MBED_GREENTEA_TEST_BAREMETAL "Select baremetal greentea tests" OFF)
55

66
set(MBED_TARGET_SERIAL_PORT "" CACHE STRING "Serial port of the DUT")
77
set(MBED_TARGET_SERIAL_NUM "" CACHE STRING "USB Serial number of the DUT")
@@ -61,7 +61,7 @@ macro(mbed_greentea_add_test)
6161
${MBED_GREENTEA_TEST_SOURCES}
6262
)
6363

64-
if(MBED_TEST_BAREMETAL)
64+
if(MBED_GREENTEA_TEST_BAREMETAL)
6565
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-baremetal)
6666
else()
6767
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-os)

0 commit comments

Comments
 (0)