mirror of https://github.com/ARMmbed/mbed-os.git
Assumption that greentea test file is always named main.cpp is incorrect. Updated mbed_greentea_add_test() macro to make TEST_SOURCES parameter compulsory, which is used to specify greentea test file(s). This allows tests to use C, or have a different name. Therefore also updated all pre-existing greentea test CMake files to explicity add main.cpp to TEST_SOURCES. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| main.cpp | ||
| tcp_tests.h | ||
| tcpsocket_bind_address.cpp | ||
| tcpsocket_bind_address_invalid.cpp | ||
| tcpsocket_bind_port.cpp | ||
| tcpsocket_bind_port_fail.cpp | ||
| tcpsocket_bind_unopened.cpp | ||
| tcpsocket_bind_wrong_type.cpp | ||
| tcpsocket_connect_invalid.cpp | ||
| tcpsocket_echotest.cpp | ||
| tcpsocket_echotest_burst.cpp | ||
| tcpsocket_endpoint_close.cpp | ||
| tcpsocket_open_close_repeat.cpp | ||
| tcpsocket_open_destruct.cpp | ||
| tcpsocket_open_limit.cpp | ||
| tcpsocket_open_twice.cpp | ||
| tcpsocket_recv_100k.cpp | ||
| tcpsocket_recv_timeout.cpp | ||
| tcpsocket_send_repeat.cpp | ||
| tcpsocket_send_timeout.cpp | ||
| tcpsocket_setsockopt_keepalive_valid.cpp | ||
| tcpsocket_thread_per_socket_safety.cpp | ||