mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-06 13:41:34 +00:00
cpukit/sapi/src/interrtext.c: Add missing definition
This adds a missing text description for an internal error and updates the spinternalerror02 test to check for the correct end of internal error definitions.
This commit is contained in:
committed by
Gedare Bloom
parent
dcab8a9eac
commit
5efed52222
@@ -87,6 +87,7 @@ static const char *const internal_error_text[] = {
|
||||
"INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED",
|
||||
"INTERNAL_ERROR_NO_MEMORY_FOR_IDLE_TASK_STORAGE",
|
||||
"INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALL",
|
||||
"INTERNAL_ERROR_CANNOT_DISABLE_DATA_CACHE",
|
||||
"INTERNAL_ERROR_LIBIO_STDIN_FD_OPEN_FAILED"
|
||||
};
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ static void test_internal_error_text(void)
|
||||
} while ( text != text_last );
|
||||
|
||||
rtems_test_assert(
|
||||
error - 3 == INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALL
|
||||
error - 3 == INTERNAL_ERROR_LIBIO_STDIN_FD_OPEN_FAILED
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user