Commit Graph

12 Commits (8902a0c866022a64ee4ae3c34aba51e39ff3a981)

Author SHA1 Message Date
Martin Kojtal 8902a0c866
Merge pull request #14819 from ARMmbed/move_rtos_stubs
Move rtos stubs to the rtos directory
2021-06-30 11:49:41 +02:00
Hari Limaye f95052cf6f CMake: Require TEST_SOURCES in greentea CMake file
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.
2021-06-29 13:33:42 +01:00
Rajkumar Kanagaraj 4412e76531 CMake: unit-tests: Move mbed-headers-rtos to the rtos directory
Move the header-only mbed-headers-rtos library the unit test stubs
depend on into the rtos component directory. This makes the rtos
stubs more self-contained and improves the composition of the library.
2021-06-28 06:31:37 -07:00
Rajkumar Kanagaraj 062638e835 CMake: Move rtos stub headers to the rtos/tests/UNITTESTS/double directory
Move rtos stubs headers to the mbed-os/rtos/tests/UNITTESTS/double
directory and update CMake to create a mbed-stubs-rtos-headers
library for rtos stub headers
2021-06-28 06:31:37 -07:00
Rajkumar Kanagaraj 6a5f3ae661 CMake: Move rtos stubs sources to the mbed-os/rtos directory
Move the rtos stub library into the rtos component directory.
so we can avoid duplicating the mbed-os source tree in a central
UNITTESTS folder.
2021-06-28 06:31:37 -07:00
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
Rajkumar Kanagaraj 2d53e005e8 CMake: Add CMake support for rtos greentea test 2021-01-05 09:11:41 -08:00
Rajkumar Kanagaraj fcf36bb9e2 Move rtos greentea test closure to library 2020-09-16 13:06:05 +01:00
Martin Kojtal a6ce2c53a0 platform: move internal headers to internal/
They belong to internal folder to follow our guideline, not in source as they were.
2020-08-20 08:58:00 +01:00
Qinghao Shi fe8e51fde2 TESTS: fix timing drift test in rtos folder 2020-07-28 14:16:56 +01:00
Qinghao Shi 0bacd5b8e1 TESTS: update test with explicit skip message 2020-07-28 14:15:51 +01:00
Ashok Rao 3a1b0744ba Moving around a few items within \rtos 2020-07-09 15:57:29 +01:00