Skip to content

Commit 5b8e4ae

Browse files
pswarnaknashif
authored andcommitted
tests: kernel: init: Add description and RTM links
Add description for init boot delay tests and group them for doxygen. Signed-off-by: Praful Swarnakar <[email protected]>
1 parent f789a72 commit 5b8e4ae

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

tests/kernel/init/src/main.c

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
/*
8-
* @brief test delay during boot
9-
*
10-
* This module verifies the delay specified during boot.
11-
*/
12-
137
#include <ztest.h>
148

9+
/**
10+
* @brief Test delay during boot
11+
* @defgroup kernel_bootdelay_tests Init
12+
* @ingroup all_tests
13+
* @{
14+
*/
15+
16+
/**
17+
* @brief This module verifies the delay specified during boot.
18+
* @see k_cycle_get_32, #SYS_CLOCK_HW_CYCLES_TO_NS64(X)
19+
*/
1520
void verify_bootdelay(void)
1621
{
1722
u32_t current_cycles = k_cycle_get_32();
@@ -22,6 +27,10 @@ void verify_bootdelay(void)
2227
"boot delay not executed");
2328
}
2429

30+
/**
31+
* @}
32+
*/
33+
2534
/*test case main entry*/
2635
void test_main(void)
2736
{

0 commit comments

Comments
 (0)