tests: fatal: group fatal tests
Group test using doxygen. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a816bfdfec
commit
feaf9893cc
2 changed files with 4 additions and 4 deletions
|
@ -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
|
* should match. Check for stack sentinel feature by overflowing the
|
||||||
* thread's stack and check for the exception.
|
* thread's stack and check for the exception.
|
||||||
*
|
*
|
||||||
* @ingroup kernel_common_tests
|
* @ingroup kernel_fatal_tests
|
||||||
*/
|
*/
|
||||||
ZTEST(fatal_exception, test_fatal)
|
ZTEST(fatal_exception, test_fatal)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
* @details Manually trigger the crash with various ways and check
|
||||||
* that the kernel is handling that properly or not. Also the crash reason
|
* that the kernel is handling that properly or not. Also the crash reason
|
||||||
* should match.
|
* 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
|
#ifdef VIA_TWISTER
|
||||||
#define EXC_TRIGGER_FUNC_IDX VIA_TWISTER
|
#define EXC_TRIGGER_FUNC_IDX VIA_TWISTER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue