diff --git a/tests/kernel/early_sleep/src/main.c b/tests/kernel/early_sleep/src/main.c index 6c4614e4ba8..7b1f319158d 100644 --- a/tests/kernel/early_sleep/src/main.c +++ b/tests/kernel/early_sleep/src/main.c @@ -4,25 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -/* - * @file - * @brief Test early sleep functionality - * - * @defgroup kernel_earlysleep_tests Early Sleep Tests - * - * @ingroup all_tests - * - * This test verifies that k_sleep() can be used to put the calling thread to - * sleep for a specified number of ticks during system initialization. In this - * test we are calling k_sleep() at POST_KERNEL and APPLICATION level - * initialization sequence. - * - * Note: We can not call k_sleep() during PRE_KERNEL1 or PRE_KERNEL2 level - * because the core kernel objects and devices initialization happens at these - * levels. - * @{ - * @} - */ + #include #include @@ -82,12 +64,19 @@ static int test_early_sleep_app(void) SYS_INIT(test_early_sleep_app, APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEVICE); -/** - * @brief Test early sleep +/* + * @brief Test early sleep functionality * - * @ingroup kernel_earlysleep_tests + * @ingroup kernel_sleep_tests * - * @see k_sleep() + * This test verifies that k_sleep() can be used to put the calling thread to + * sleep for a specified number of ticks during system initialization. In this + * test we are calling k_sleep() at POST_KERNEL and APPLICATION level + * initialization sequence. + * + * Note: We can not call k_sleep() during PRE_KERNEL1 or PRE_KERNEL2 level + * because the core kernel objects and devices initialization happens at these + * levels. */ ZTEST(earlysleep, test_early_sleep) {