From 2323486bf344f1c4a484d005f64a1c53575116ba Mon Sep 17 00:00:00 2001 From: Przemyslaw Stekiel Date: Tue, 6 Mar 2018 10:05:35 +0100 Subject: [PATCH] tests-mbed_drivers-timerevent: perform test only if USTICKER support is enabled. --- TESTS/mbed_drivers/timerevent/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TESTS/mbed_drivers/timerevent/main.cpp b/TESTS/mbed_drivers/timerevent/main.cpp index fc25d984f9..4e1636468c 100644 --- a/TESTS/mbed_drivers/timerevent/main.cpp +++ b/TESTS/mbed_drivers/timerevent/main.cpp @@ -27,6 +27,10 @@ using namespace utest::v1; +#if !DEVICE_USTICKER + #error [NOT_SUPPORTED] test not supported +#endif + #define TEST_DELAY_US 50000ULL class TestTimerEvent: public TimerEvent {