mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Create mbed-greentea library
parent
d6784c3ee6
commit
d634236eae
|
@ -4,6 +4,10 @@
|
|||
# List of all features libraries available.
|
||||
add_library(mbed-fpga-ci-test-shield INTERFACE)
|
||||
add_library(mbed-client-cli INTERFACE)
|
||||
add_library(mbed-greentea INTERFACE)
|
||||
|
||||
add_subdirectory(frameworks/COMPONENT_FPGA_CI_TEST_SHIELD)
|
||||
add_subdirectory(frameworks/mbed-client-cli)
|
||||
add_subdirectory(frameworks/greentea-client)
|
||||
add_subdirectory(frameworks/unity)
|
||||
add_subdirectory(frameworks/utest)
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-greentea
|
||||
INTERFACE
|
||||
.
|
||||
greentea-client
|
||||
)
|
||||
|
||||
target_sources(mbed-greentea
|
||||
INTERFACE
|
||||
source/greentea_metrics.cpp
|
||||
source/greentea_test_env.cpp
|
||||
)
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-greentea
|
||||
INTERFACE
|
||||
.
|
||||
unity
|
||||
)
|
||||
|
||||
target_sources(mbed-greentea
|
||||
INTERFACE
|
||||
source/unity.c
|
||||
)
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-greentea
|
||||
INTERFACE
|
||||
.
|
||||
utest
|
||||
)
|
||||
|
||||
target_sources(mbed-greentea
|
||||
INTERFACE
|
||||
mbed-utest-shim.cpp
|
||||
source/unity_handler.cpp
|
||||
source/utest_case.cpp
|
||||
source/utest_default_handlers.cpp
|
||||
source/utest_greentea_handlers.cpp
|
||||
source/utest_harness.cpp
|
||||
source/utest_print.cpp
|
||||
source/utest_shim.cpp
|
||||
source/utest_stack_trace.cpp
|
||||
source/utest_types.cpp
|
||||
)
|
Loading…
Reference in New Issue