mirror of https://github.com/ARMmbed/mbed-os.git
29 lines
741 B
CMake
29 lines
741 B
CMake
|
|
####################
|
|
# UNIT TESTS
|
|
####################
|
|
|
|
# Unit test suite name
|
|
set(TEST_SUITE_NAME "features_netsocket_NetworkStack")
|
|
|
|
# Source files
|
|
set(unittest-sources
|
|
../features/netsocket/SocketAddress.cpp
|
|
../features/netsocket/NetworkStack.cpp
|
|
../features/netsocket/NetworkInterface.cpp
|
|
../features/frameworks/nanostack-libservice/source/libip4string/ip4tos.c
|
|
../features/frameworks/nanostack-libservice/source/libip4string/stoip4.c
|
|
)
|
|
|
|
# Test files
|
|
set(unittest-test-sources
|
|
stubs/Mutex_stub.cpp
|
|
stubs/mbed_assert_stub.c
|
|
stubs/equeue_stub.c
|
|
stubs/EventQueue_stub.cpp
|
|
stubs/mbed_shared_queues_stub.cpp
|
|
stubs/nsapi_dns_stub.cpp
|
|
stubs/EventFlags_stub.cpp
|
|
features/netsocket/NetworkStack/test_NetworkStack.cpp
|
|
)
|