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

Tests a fatal error. More...

Files

file  testsuites/validation/bsps/tr-fatal-clock-xil-ttc-irq-install.c
file  testsuites/validation/bsps/tr-fatal-clock-xil-ttc-irq-install.h

Data Structures

struct  DevClockXilTtcValFatalIrqInstall_Context
 Test context for spec:/dev/clock/xil-ttc/val/fatal-irq-install test case. More...

Functions

 RTEMS_SYSINIT_ITEM (OccupyClockInterrupt, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_FIRST)
void DevClockXilTtcValFatalIrqInstall_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

◆ DevClockXilTtcValFatalIrqInstall_Run()

void DevClockXilTtcValFatalIrqInstall_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis fatal source.
codeis fatal code.