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 occurs.
- Construct a task which performs a thread dispatch with maskable interrupts disabled. Check that the right fatal error occurs or no fatal error occurs.
- Construct a task which performs a direct thread dispatch with a thread dispatch level not equal to one. Check that the right fatal error occurs.
- 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.