From b7fdf60f29719045c674ca129b0604cafd78e15d Mon Sep 17 00:00:00 2001 From: Przemyslaw Stekiel Date: Thu, 22 Feb 2018 09:45:42 +0100 Subject: [PATCH] Skip higher level ticker tests for targets with stale ticker target specific drivers. Since target specific ticker drivers are not ready also features which uses ticker in upper layers may not work correctly and tests for these features. We need to disable also failing higher level ticker related tests (by adding check if DEVICE_USTICKER symbol is available and raise #error [NOT_SUPPORTED] if not). Note: tests-mbed_drivers-rtc is new and uses us ticker to perform a delay. --- TESTS/mbed_drivers/rtc/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/mbed_drivers/rtc/main.cpp b/TESTS/mbed_drivers/rtc/main.cpp index 315818b7f2..d0ebba2c72 100644 --- a/TESTS/mbed_drivers/rtc/main.cpp +++ b/TESTS/mbed_drivers/rtc/main.cpp @@ -21,7 +21,7 @@ #include "rtos.h" #include "rtc_api.h" -#if !DEVICE_RTC +#if !DEVICE_RTC || !DEVICE_USTICKER #error [NOT_SUPPORTED] test not supported #endif