1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "common.h" 8 9 extern enum bst_result_t bst_result; 10 test_init(void)11void test_init(void) 12 { 13 bst_result = In_progress; 14 bst_ticker_set_next_tick_absolute(WAIT_TIME); 15 } 16 test_tick(bs_time_t HW_device_time)17void test_tick(bs_time_t HW_device_time) 18 { 19 if (bst_result != Passed) { 20 FAIL("test failed (not passed after %i us)\n", WAIT_TIME); 21 } 22 } 23