Commit Graph

7 Commits (latest)

Author SHA1 Message Date
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
jeromecoutant 3b64279d36 HAL ticker tests : add optional CHECK_TICKER_OPTIM define
This will make build failure if ticker optim defines are not present
2021-04-15 17:35:28 +02:00
jeromecoutant f7c0434b6c HAL ticker tests fix u64
(1000000 * LP/US_TICKER_PERIOD_DEN) > U32
2021-04-15 17:35:28 +02:00
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
Rajkumar Kanagaraj f78d7e1fe5 CMake: Add CMake support for mbed_hal greentea test 2021-01-05 09:10:45 -08:00
Kevin Bracey 6423633122 Add documentation for LP_TICKER defines
They're now potentially useful, so document them as per the US_TICKER
defines.
2020-09-14 13:25:08 +03:00
Rajkumar Kanagaraj 159410bea7 Move greentea tests closure to library 2020-08-25 15:15:53 +01:00