rtos: Remove UNITTEST macro from rtos
Production code should not contain any test-specific checks. Rather
than checking `UNITTEST`, unit tests can directly set
`MBED_CONF_RTOS_PRESENT=1` to make RTOS available for testing.

Note: The cellular ATHandler test also has `MBED_CONF_RTOS_PRESENT=1`
added because `ATHandler.cpp` contains a check of this variable.
ls
1 parent 8d3fc33 commit 3a243059164015263954df473b823dd200f96a43
@Lingkai Dong Lingkai Dong authored on 6 Jul 2021
Showing 6 changed files
View
connectivity/cellular/tests/UNITTESTS/framework/device/athandler/CMakeLists.txt
View
rtos/include/rtos/Thread.h
View
rtos/include/rtos/internal/mbed_rtos1_types.h
View
rtos/include/rtos/internal/mbed_rtos_storage.h
View
rtos/include/rtos/mbed_rtos_types.h
View
rtos/tests/UNITTESTS/doubles/CMakeLists.txt