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

Tests a fatal error. More...

Files

file  testsuites/validation/bsps/tr-fatal-sparc-leon3-clock-initialization.c
file  testsuites/validation/bsps/tr-fatal-sparc-leon3-clock-initialization.h

Data Structures

struct  BspSparcLeon3ValFatalClockInitialization_Context
 Test context for spec:/bsp/sparc/leon3/val/fatal-clock-initialization test case. More...

Functions

 RTEMS_SYSINIT_ITEM (OccupyClockInterrupt, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_FIRST)
void BspSparcLeon3ValFatalClockInitialization_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 OccupyClockInterrupt() system initialization handler.
    • Check that the expected fatal source is present.
    • Check that the expected fatal code is present.

Function Documentation

◆ BspSparcLeon3ValFatalClockInitialization_Run()

void BspSparcLeon3ValFatalClockInitialization_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis fatal source.
codeis fatal code.