RTEMS 6.3
Loading...
Searching...
No Matches
spec:/score/smp/val/fatal-start-of-mandatory-processor-failed

Tests a fatal error. More...

Files

file  testsuites/validation/tr-fatal-start-of-mandatory-processor-failed.c
file  testsuites/validation/tr-fatal-start-of-mandatory-processor-failed.h

Data Structures

struct  ScoreSmpValFatalStartOfMandatoryProcessorFailed_Context
 Test context for spec:/score/smp/val/fatal-start-of-mandatory-processor-failed test case. More...

Functions

bool __wrap__CPU_SMP_Start_processor (uint32_t cpu_index)
void ScoreSmpValFatalStartOfMandatoryProcessorFailed_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 the application configuration of the test suite and the wrapped _CPU_SMP_Start_processor().
    • Check that the expected fatal source is present.
    • Check that the expected fatal code is present.

Function Documentation

◆ ScoreSmpValFatalStartOfMandatoryProcessorFailed_Run()

void ScoreSmpValFatalStartOfMandatoryProcessorFailed_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis fatal source.
codeis fatal code.