RTEMS 6.3
Loading...
Searching...
No Matches
spec:/acfg/val/fatal-init-task-construct-failed

Tests a fatal error caused by an invalid application configuration. More...

Files

file  testsuites/validation/tr-fatal-init-task-construct-failed.c
file  testsuites/validation/tr-fatal-init-task-construct-failed.h

Data Structures

struct  AcfgValFatalInitTaskConstructFailed_Context
 Test context for spec:/acfg/val/fatal-init-task-construct-failed test case. More...

Functions

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

Detailed Description

Tests a fatal error caused by an invalid application configuration.

This test case performs the following actions:

  • The test action is carried out by configuring an invalid task priority used to construct the initialization task.
    • Check that the expected fatal source is present.
    • Check that the expected fatal code is present.
    • Check that the CONFIGURE_INIT_TASK_PRIORITY application configuration option resulted in the expected system setting.

Function Documentation

◆ AcfgValFatalInitTaskConstructFailed_Run()

void AcfgValFatalInitTaskConstructFailed_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis fatal source.
codeis fatal code.