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

Tests a signal constant of the Signal Manager using the signal set of the executing task. More...

Files

file  testsuites/validation/tr-signal-constant.c
file  testsuites/validation/tr-signal-constant.h

Data Structures

struct  RtemsSignalValSignalConstant_Context
 Test context for spec:/rtems/signal/val/signal-constant test case. More...

Typedefs

typedef RtemsSignalValSignalConstant_Context Context

Functions

void RtemsSignalValSignalConstant_Run (rtems_signal_set signal, int number)
 Runs the parameterized test case.

Detailed Description

Tests a signal constant of the Signal Manager using the signal set of the executing task.

This test case performs the following actions:

  • Validate the signal constant.
    • Check that the signal constant is equal to the integer representation of the signal in the signal set.
  • Validate the signal delivery.
    • Check that the caught signal set represents exactly the sent signal.

Function Documentation

◆ RtemsSignalValSignalConstant_Run()

void RtemsSignalValSignalConstant_Run ( rtems_signal_set signal,
int number )

Runs the parameterized test case.

Parameters
signalis the signal constant.
numberis the signal number.