Tests some fatal errors.
More...
|
| T_TEST_CASE_FIXTURE (ScoreValFatal, &ScoreValFatal_Fixture) |
|
Tests some fatal errors.
This test case performs the following actions:
- Construct a task with a task body which returns. Check that the right fatal error occurred.
- Construct a task which performs a direct thread dispatch with maskable interrupts disabled. Where robust thread dispatching is required, check that the right fatal error occurred, otherwise check that no fatal error occurred.
- Construct a task which performs an on demand thread dispatch with maskable interrupts disabled. Where robust thread dispatching is required, check that the right fatal error occurred, otherwise check that no fatal error occurred.
- Construct a task which performs a direct thread dispatch with a thread dispatch level not equal to one. Check that the right fatal error occurred.
- Create a mutex and construct a task which produces a deadlock which involves the allocator mutex.
- Check that rtems_fatal() terminates the system. Since SetFatalHandler() requires an initial extension this validates CONFIGURE_INITIAL_EXTENSIONS.