mirror of https://github.com/ARMmbed/mbed-os.git
Moving all unit tests to use hyphenated test name
parent
ebd1c16c9e
commit
0bda46df07
|
@ -225,7 +225,7 @@ For example to create a unit test for `rtos/Semaphore.cpp`:
|
|||
1. Create a directory for unit test files in `UNITTESTS/rtos/Semaphore`.
|
||||
2. Create a test definition file `UNITTESTS/rtos/Semaphore/unittest.cmake` with the following content:
|
||||
```
|
||||
set(TEST_SUITE_NAME "rtos_Semaphore")
|
||||
set(TEST_SUITE_NAME "rtos-Semaphore")
|
||||
|
||||
set(unittest-sources
|
||||
stubs/mbed_assert.c
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "cellular_framework_AT_AT_CellularBase")
|
||||
set(TEST_SUITE_NAME "cellular-framework-AT-AT_CellularBase")
|
||||
|
||||
# Add test specific include paths
|
||||
set(unittest-includes ${unittest-includes}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "cellular_framework_common_util")
|
||||
set(TEST_SUITE_NAME "cellular-framework-common-util")
|
||||
|
||||
# Add test specific include paths
|
||||
set(unittest-includes ${unittest-includes}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "features_netsocket_InternetSocket")
|
||||
set(TEST_SUITE_NAME "features-netsocket-InternetSocket")
|
||||
|
||||
set(unittest-sources
|
||||
../features/netsocket/SocketAddress.cpp
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "features_netsocket_NetworkInterface")
|
||||
set(TEST_SUITE_NAME "features-netsocket-NetworkInterface")
|
||||
|
||||
# Source files
|
||||
set(unittest-sources
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "features_netsocket_TCPSocket")
|
||||
set(TEST_SUITE_NAME "features-netsocket-TCPSocket")
|
||||
|
||||
set(unittest-sources
|
||||
../features/netsocket/SocketAddress.cpp
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "features_netsocket_UDPSocket")
|
||||
set(TEST_SUITE_NAME "features-netsocket-UDPSocket")
|
||||
|
||||
set(unittest-sources
|
||||
../features/netsocket/SocketAddress.cpp
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
####################
|
||||
|
||||
# Unit test suite name
|
||||
set(TEST_SUITE_NAME "platform_CircularBuffer")
|
||||
set(TEST_SUITE_NAME "platform-CircularBuffer")
|
||||
|
||||
set(unittest-sources
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue