RTEMS 6.3
Loading...
Searching...
No Matches
spec:/score/thread/val/idle-body-no-return

Tests thread idle body behaviour. More...

Files

file  testsuites/validation/tc-thread-idle-body-no-return.c

Data Structures

struct  ScoreThreadValIdleBodyNoReturn_Context
 Test context for spec:/score/thread/val/idle-body-no-return test case. More...

Typedefs

typedef ScoreThreadValIdleBodyNoReturn_Context Context

Functions

 T_TEST_CASE_FIXTURE (ScoreThreadValIdleBodyNoReturn, &ScoreThreadValIdleBodyNoReturn_Fixture)

Detailed Description

Tests thread idle body behaviour.

This test case performs the following actions:

  • Create threads which execute an thread idle body. Check that the thread idle body does not return. If it would return, then an INTERNAL_ERROR_THREAD_EXITTED fatal error would occur.
    • Check that the CPU port thread idle body does not return.
    • Where the BSP provides an idle thread body, check that it does not return.
    • Clean up all used resources.