Skip to content

Commit 792f2e3

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

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")
@@ -66,7 +66,7 @@ macro(mbed_greentea_add_test)
6666
${MBED_GREENTEA_TEST_SOURCES}
6767
)
6868

69-
if(MBED_TEST_BAREMETAL)
69+
if(MBED_GREENTEA_TEST_BAREMETAL)
7070
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-baremetal)
7171
else()
7272
list(APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-os)

0 commit comments

Comments
 (0)