tests: fatal: group fatal tests

Group test using doxygen.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2025-04-21 06:53:34 -04:00 committed by Benjamin Cabé
commit feaf9893cc
2 changed files with 4 additions and 4 deletions

View file

@ -300,7 +300,7 @@ void check_stack_overflow(k_thread_entry_t handler, uint32_t flags)
* should match. Check for stack sentinel feature by overflowing the
* thread's stack and check for the exception.
*
* @ingroup kernel_common_tests
* @ingroup kernel_fatal_tests
*/
ZTEST(fatal_exception, test_fatal)
{

View file

@ -117,14 +117,14 @@ static const exc_trigger_func_t exc_trigger_func[] = {
};
/**
* @brief Test the kernel fatal error handling works correctly
* @brief Verify the kernel fatal error handling works correctly
* @details Manually trigger the crash with various ways and check
* that the kernel is handling that properly or not. Also the crash reason
* should match.
*
* @ingroup kernel_common_tests
* @ingroup kernel_fatal_tests
*/
ZTEST(fatal_no_mt, test_fatal)
ZTEST(fatal_no_mt, test_fatal_no_mt)
{
#ifdef VIA_TWISTER
#define EXC_TRIGGER_FUNC_IDX VIA_TWISTER