RTEMS 6.3
Loading...
Searching...
No Matches

Tests a fatal error. More...

Files

file  testsuites/validation/tr-fatal-too-large-tls-size.c
file  testsuites/validation/tr-fatal-too-large-tls-size.h

Data Structures

struct  AcfgValFatalTooLargeTlsSize_Context
 Test context for spec:/acfg/val/fatal-too-large-tls-size test case. More...

Functions

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

Detailed Description

Tests a fatal error.

This test case performs the following actions:

  • The test action is carried out by providing a thread-local storage object of sufficient size with respect to the application configuration of the test suite.
    • Check that the expected fatal source is present.
    • Check that the expected fatal code is present.
    • Check that the CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE application configuration option resulted in the expected system setting.

Function Documentation

◆ AcfgValFatalTooLargeTlsSize_Run()

void AcfgValFatalTooLargeTlsSize_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis fatal source.
codeis fatal code.