Disable `tests-mbed_drivers-timeout` test if USTICKER support is disabled (NRF52_DK).

pull/7009/head
Przemyslaw Stekiel 2018-04-04 10:04:22 +02:00 committed by Bartek Szatkowski
parent 48a769dbb3
commit 785e5d30a2
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#include "unity/unity.h"
#include "timeout_tests.h"
#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] usticker not supported for this target.
#endif
using namespace utest::v1;
utest::v1::status_t greentea_failure_handler(const Case * const source, const failure_t reason)