RTEMS 6.3
Loading...
Searching...
No Matches
spec:/score/thread/val/fatal-idle-thread-stack-too-small

Tests a fatal error caused by a too small idle thread stack size. More...

Files

file  testsuites/validation/tr-fatal-idle-thread-stack-too-small.c
file  testsuites/validation/tr-fatal-idle-thread-stack-too-small.h

Data Structures

struct  ScoreThreadValFatalIdleThreadStackTooSmall_Context
 Test context for spec:/score/thread/val/fatal-idle-thread-stack-too-small test case. More...

Functions

void ScoreThreadValFatalIdleThreadStackTooSmall_Run (rtems_fatal_source source, rtems_fatal_code code)
 Runs the parameterized test case.

Detailed Description

Tests a fatal error caused by a too small idle thread stack size.

This test case performs the following actions:

  • The test action is carried out by configuring a thread-local storage demand which leads to a too small idle thread stack size.
    • Check that the expected fatal source is present.
    • Check that the expected fatal code is present.
    • Check the configured value of CONFIGURE_IDLE_TASK_STORAGE_SIZE.

Function Documentation

◆ ScoreThreadValFatalIdleThreadStackTooSmall_Run()

void ScoreThreadValFatalIdleThreadStackTooSmall_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis the fatal source.
codeis the fatal code.